From 45aa7403519ee873a9f22da8b48f66b219de2e50 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Wed, 10 Feb 2016 16:26:19 +0100 Subject: update momentjs --- js/bower.json | 2 +- js/vendor/momentjs/.bower.json | 19 +- js/vendor/momentjs/CHANGELOG.md | 77 +- js/vendor/momentjs/LICENSE | 2 +- js/vendor/momentjs/Moment.js.nuspec | 28 - js/vendor/momentjs/README.md | 19 + js/vendor/momentjs/benchmarks/clone.js | 10 - js/vendor/momentjs/bower.json | 10 +- js/vendor/momentjs/locale/af.js | 36 +- js/vendor/momentjs/locale/ar-ma.js | 38 +- js/vendor/momentjs/locale/ar-sa.js | 34 +- js/vendor/momentjs/locale/ar-tn.js | 34 +- js/vendor/momentjs/locale/ar.js | 42 +- js/vendor/momentjs/locale/az.js | 43 +- js/vendor/momentjs/locale/be.js | 78 +- js/vendor/momentjs/locale/bg.js | 36 +- js/vendor/momentjs/locale/bn.js | 48 +- js/vendor/momentjs/locale/bo.js | 36 +- js/vendor/momentjs/locale/br.js | 38 +- js/vendor/momentjs/locale/bs.js | 39 +- js/vendor/momentjs/locale/ca.js | 36 +- js/vendor/momentjs/locale/cs.js | 52 +- js/vendor/momentjs/locale/cv.js | 76 +- js/vendor/momentjs/locale/cy.js | 38 +- js/vendor/momentjs/locale/da.js | 36 +- js/vendor/momentjs/locale/de-at.js | 45 +- js/vendor/momentjs/locale/de.js | 43 +- js/vendor/momentjs/locale/dv.js | 99 + js/vendor/momentjs/locale/el.js | 40 +- js/vendor/momentjs/locale/en-au.js | 32 +- js/vendor/momentjs/locale/en-ca.js | 34 +- js/vendor/momentjs/locale/en-gb.js | 34 +- js/vendor/momentjs/locale/en-ie.js | 67 + js/vendor/momentjs/locale/en-nz.js | 66 + js/vendor/momentjs/locale/eo.js | 40 +- js/vendor/momentjs/locale/es.js | 38 +- js/vendor/momentjs/locale/et.js | 38 +- js/vendor/momentjs/locale/eu.js | 40 +- js/vendor/momentjs/locale/fa.js | 36 +- js/vendor/momentjs/locale/fi.js | 40 +- js/vendor/momentjs/locale/fo.js | 36 +- js/vendor/momentjs/locale/fr-ca.js | 40 +- js/vendor/momentjs/locale/fr-ch.js | 62 + js/vendor/momentjs/locale/fr.js | 36 +- js/vendor/momentjs/locale/fy.js | 36 +- js/vendor/momentjs/locale/gd.js | 76 + js/vendor/momentjs/locale/gl.js | 36 +- js/vendor/momentjs/locale/he.js | 44 +- js/vendor/momentjs/locale/hi.js | 34 +- js/vendor/momentjs/locale/hr.js | 44 +- js/vendor/momentjs/locale/hu.js | 40 +- js/vendor/momentjs/locale/hy-am.js | 69 +- js/vendor/momentjs/locale/id.js | 38 +- js/vendor/momentjs/locale/is.js | 37 +- js/vendor/momentjs/locale/it.js | 40 +- js/vendor/momentjs/locale/ja.js | 36 +- js/vendor/momentjs/locale/jv.js | 83 + js/vendor/momentjs/locale/ka.js | 68 +- js/vendor/momentjs/locale/kk.js | 87 + js/vendor/momentjs/locale/km.js | 38 +- js/vendor/momentjs/locale/ko.js | 43 +- js/vendor/momentjs/locale/lb.js | 39 +- js/vendor/momentjs/locale/lo.js | 69 + js/vendor/momentjs/locale/lt.js | 67 +- js/vendor/momentjs/locale/lv.js | 87 +- js/vendor/momentjs/locale/me.js | 109 + js/vendor/momentjs/locale/mk.js | 42 +- js/vendor/momentjs/locale/ml.js | 34 +- js/vendor/momentjs/locale/mr.js | 100 +- js/vendor/momentjs/locale/ms-my.js | 36 +- js/vendor/momentjs/locale/ms.js | 82 + js/vendor/momentjs/locale/my.js | 40 +- js/vendor/momentjs/locale/nb.js | 44 +- js/vendor/momentjs/locale/ne.js | 64 +- js/vendor/momentjs/locale/nl.js | 36 +- js/vendor/momentjs/locale/nn.js | 38 +- js/vendor/momentjs/locale/pl.js | 47 +- js/vendor/momentjs/locale/pt-br.js | 48 +- js/vendor/momentjs/locale/pt.js | 46 +- js/vendor/momentjs/locale/ro.js | 35 +- js/vendor/momentjs/locale/ru.js | 124 +- js/vendor/momentjs/locale/se.js | 61 + js/vendor/momentjs/locale/si.js | 66 + js/vendor/momentjs/locale/sk.js | 48 +- js/vendor/momentjs/locale/sl.js | 120 +- js/vendor/momentjs/locale/sq.js | 40 +- js/vendor/momentjs/locale/sr-cyrl.js | 37 +- js/vendor/momentjs/locale/sr.js | 37 +- js/vendor/momentjs/locale/sv.js | 40 +- js/vendor/momentjs/locale/sw.js | 58 + js/vendor/momentjs/locale/ta.js | 95 +- js/vendor/momentjs/locale/te.js | 88 + js/vendor/momentjs/locale/th.js | 36 +- js/vendor/momentjs/locale/tl-ph.js | 36 +- js/vendor/momentjs/locale/tlh.js | 119 + js/vendor/momentjs/locale/tr.js | 44 +- js/vendor/momentjs/locale/tzl.js | 87 + js/vendor/momentjs/locale/tzm-latn.js | 36 +- js/vendor/momentjs/locale/tzm.js | 36 +- js/vendor/momentjs/locale/uk.js | 69 +- js/vendor/momentjs/locale/uz.js | 38 +- js/vendor/momentjs/locale/vi.js | 40 +- js/vendor/momentjs/locale/zh-cn.js | 62 +- js/vendor/momentjs/locale/zh-tw.js | 40 +- js/vendor/momentjs/meteor/README.md | 25 - js/vendor/momentjs/meteor/export.js | 3 - js/vendor/momentjs/meteor/test.js | 5 - js/vendor/momentjs/min/locales.js | 4724 +- js/vendor/momentjs/min/locales.min.js | 76 +- js/vendor/momentjs/min/moment-with-locales.js | 9356 ++-- js/vendor/momentjs/min/moment-with-locales.min.js | 76 +- js/vendor/momentjs/min/moment.min.js | 6 +- js/vendor/momentjs/min/tests.js | 46196 +++++++++++++++++++ js/vendor/momentjs/moment.js | 5523 ++- js/vendor/momentjs/scripts/npm_prepublish.sh | 43 - .../momentjs/src/lib/create/check-overflow.js | 34 + .../momentjs/src/lib/create/date-from-array.js | 21 + js/vendor/momentjs/src/lib/create/from-anything.js | 101 + js/vendor/momentjs/src/lib/create/from-array.js | 136 + js/vendor/momentjs/src/lib/create/from-object.js | 16 + .../src/lib/create/from-string-and-array.js | 50 + .../src/lib/create/from-string-and-format.js | 104 + js/vendor/momentjs/src/lib/create/from-string.js | 120 + js/vendor/momentjs/src/lib/create/local.js | 5 + js/vendor/momentjs/src/lib/create/parsing-flags.js | 22 + js/vendor/momentjs/src/lib/create/utc.js | 5 + js/vendor/momentjs/src/lib/create/valid.js | 37 + js/vendor/momentjs/src/lib/duration/abs.js | 18 + .../momentjs/src/lib/duration/add-subtract.js | 21 + js/vendor/momentjs/src/lib/duration/as.js | 55 + js/vendor/momentjs/src/lib/duration/bubble.js | 61 + js/vendor/momentjs/src/lib/duration/constructor.js | 41 + js/vendor/momentjs/src/lib/duration/create.js | 117 + js/vendor/momentjs/src/lib/duration/duration.js | 12 + js/vendor/momentjs/src/lib/duration/get.js | 25 + js/vendor/momentjs/src/lib/duration/humanize.js | 64 + js/vendor/momentjs/src/lib/duration/iso-string.js | 52 + js/vendor/momentjs/src/lib/duration/prototype.js | 48 + js/vendor/momentjs/src/lib/format/format.js | 92 + js/vendor/momentjs/src/lib/locale/calendar.js | 15 + js/vendor/momentjs/src/lib/locale/constructor.js | 2 + js/vendor/momentjs/src/lib/locale/en.js | 15 + js/vendor/momentjs/src/lib/locale/formats.js | 23 + js/vendor/momentjs/src/lib/locale/invalid.js | 5 + js/vendor/momentjs/src/lib/locale/lists.js | 48 + js/vendor/momentjs/src/lib/locale/locale.js | 35 + js/vendor/momentjs/src/lib/locale/locales.js | 118 + js/vendor/momentjs/src/lib/locale/ordinal.js | 7 + .../momentjs/src/lib/locale/pre-post-format.js | 3 + js/vendor/momentjs/src/lib/locale/prototype.js | 76 + js/vendor/momentjs/src/lib/locale/relative.js | 29 + js/vendor/momentjs/src/lib/locale/set.js | 16 + js/vendor/momentjs/src/lib/moment/add-subtract.js | 52 + js/vendor/momentjs/src/lib/moment/calendar.js | 21 + js/vendor/momentjs/src/lib/moment/clone.js | 5 + js/vendor/momentjs/src/lib/moment/compare.js | 57 + js/vendor/momentjs/src/lib/moment/constructor.js | 74 + js/vendor/momentjs/src/lib/moment/creation-data.js | 9 + js/vendor/momentjs/src/lib/moment/diff.js | 61 + js/vendor/momentjs/src/lib/moment/format.js | 28 + js/vendor/momentjs/src/lib/moment/from.js | 17 + js/vendor/momentjs/src/lib/moment/get-set.js | 43 + js/vendor/momentjs/src/lib/moment/locale.js | 34 + js/vendor/momentjs/src/lib/moment/min-max.js | 63 + js/vendor/momentjs/src/lib/moment/moment.js | 28 + js/vendor/momentjs/src/lib/moment/now.js | 3 + js/vendor/momentjs/src/lib/moment/prototype.js | 149 + js/vendor/momentjs/src/lib/moment/start-end-of.js | 52 + js/vendor/momentjs/src/lib/moment/to-type.js | 34 + js/vendor/momentjs/src/lib/moment/to.js | 17 + js/vendor/momentjs/src/lib/moment/valid.js | 15 + js/vendor/momentjs/src/lib/parse/regex.js | 54 + js/vendor/momentjs/src/lib/parse/token.js | 32 + js/vendor/momentjs/src/lib/units/aliases.js | 29 + js/vendor/momentjs/src/lib/units/constants.js | 9 + js/vendor/momentjs/src/lib/units/day-of-month.js | 32 + js/vendor/momentjs/src/lib/units/day-of-week.js | 162 + js/vendor/momentjs/src/lib/units/day-of-year.js | 32 + js/vendor/momentjs/src/lib/units/hour.js | 129 + js/vendor/momentjs/src/lib/units/millisecond.js | 64 + js/vendor/momentjs/src/lib/units/minute.js | 24 + js/vendor/momentjs/src/lib/units/month.js | 209 + js/vendor/momentjs/src/lib/units/offset.js | 219 + js/vendor/momentjs/src/lib/units/quarter.js | 27 + js/vendor/momentjs/src/lib/units/second.js | 24 + js/vendor/momentjs/src/lib/units/timestamp.js | 20 + js/vendor/momentjs/src/lib/units/timezone.js | 16 + js/vendor/momentjs/src/lib/units/units.js | 20 + .../momentjs/src/lib/units/week-calendar-utils.js | 65 + js/vendor/momentjs/src/lib/units/week-year.js | 101 + js/vendor/momentjs/src/lib/units/week.js | 61 + js/vendor/momentjs/src/lib/units/year.js | 70 + js/vendor/momentjs/src/lib/utils/abs-ceil.js | 7 + js/vendor/momentjs/src/lib/utils/abs-floor.js | 7 + js/vendor/momentjs/src/lib/utils/compare-arrays.js | 16 + js/vendor/momentjs/src/lib/utils/defaults.js | 10 + js/vendor/momentjs/src/lib/utils/deprecate.js | 33 + js/vendor/momentjs/src/lib/utils/extend.js | 19 + js/vendor/momentjs/src/lib/utils/has-own-prop.js | 3 + js/vendor/momentjs/src/lib/utils/hooks.js | 13 + js/vendor/momentjs/src/lib/utils/is-array.js | 3 + js/vendor/momentjs/src/lib/utils/is-date.js | 3 + js/vendor/momentjs/src/lib/utils/is-function.js | 3 + js/vendor/momentjs/src/lib/utils/is-undefined.js | 3 + js/vendor/momentjs/src/lib/utils/map.js | 7 + js/vendor/momentjs/src/lib/utils/to-int.js | 12 + js/vendor/momentjs/src/lib/utils/zero-fill.js | 7 + js/vendor/momentjs/src/locale/af.js | 63 + js/vendor/momentjs/src/locale/ar-ma.js | 50 + js/vendor/momentjs/src/locale/ar-sa.js | 94 + js/vendor/momentjs/src/locale/ar-tn.js | 48 + js/vendor/momentjs/src/locale/ar.js | 127 + js/vendor/momentjs/src/locale/az.js | 95 + js/vendor/momentjs/src/locale/be.js | 125 + js/vendor/momentjs/src/locale/bg.js | 81 + js/vendor/momentjs/src/locale/bn.js | 104 + js/vendor/momentjs/src/locale/bo.js | 101 + js/vendor/momentjs/src/locale/br.js | 98 + js/vendor/momentjs/src/locale/bs.js | 132 + js/vendor/momentjs/src/locale/ca.js | 70 + js/vendor/momentjs/src/locale/cs.js | 162 + js/vendor/momentjs/src/locale/cv.js | 53 + js/vendor/momentjs/src/locale/cy.js | 70 + js/vendor/momentjs/src/locale/da.js | 51 + js/vendor/momentjs/src/locale/de-at.js | 67 + js/vendor/momentjs/src/locale/de.js | 66 + js/vendor/momentjs/src/locale/dv.js | 89 + js/vendor/momentjs/src/locale/el.js | 86 + js/vendor/momentjs/src/locale/en-au.js | 57 + js/vendor/momentjs/src/locale/en-ca.js | 54 + js/vendor/momentjs/src/locale/en-gb.js | 58 + js/vendor/momentjs/src/locale/en-ie.js | 58 + js/vendor/momentjs/src/locale/en-nz.js | 56 + js/vendor/momentjs/src/locale/eo.js | 64 + js/vendor/momentjs/src/locale/es.js | 70 + js/vendor/momentjs/src/locale/et.js | 71 + js/vendor/momentjs/src/locale/eu.js | 55 + js/vendor/momentjs/src/locale/fa.js | 96 + js/vendor/momentjs/src/locale/fi.js | 98 + js/vendor/momentjs/src/locale/fo.js | 51 + js/vendor/momentjs/src/locale/fr-ca.js | 49 + js/vendor/momentjs/src/locale/fr-ch.js | 53 + js/vendor/momentjs/src/locale/fr.js | 53 + js/vendor/momentjs/src/locale/fy.js | 62 + js/vendor/momentjs/src/locale/gd.js | 67 + js/vendor/momentjs/src/locale/gl.js | 66 + js/vendor/momentjs/src/locale/he.js | 73 + js/vendor/momentjs/src/locale/hi.js | 114 + js/vendor/momentjs/src/locale/hr.js | 134 + js/vendor/momentjs/src/locale/hu.js | 100 + js/vendor/momentjs/src/locale/hy-am.js | 86 + js/vendor/momentjs/src/locale/id.js | 74 + js/vendor/momentjs/src/locale/is.js | 118 + js/vendor/momentjs/src/locale/it.js | 61 + js/vendor/momentjs/src/locale/ja.js | 56 + js/vendor/momentjs/src/locale/jv.js | 73 + js/vendor/momentjs/src/locale/ka.js | 80 + js/vendor/momentjs/src/locale/kk.js | 77 + js/vendor/momentjs/src/locale/km.js | 49 + js/vendor/momentjs/src/locale/ko.js | 59 + js/vendor/momentjs/src/locale/lb.js | 125 + js/vendor/momentjs/src/locale/lo.js | 60 + js/vendor/momentjs/src/locale/lt.js | 106 + js/vendor/momentjs/src/locale/lv.js | 87 + js/vendor/momentjs/src/locale/me.js | 99 + js/vendor/momentjs/src/locale/mk.js | 81 + js/vendor/momentjs/src/locale/ml.js | 62 + js/vendor/momentjs/src/locale/mr.js | 149 + js/vendor/momentjs/src/locale/ms-my.js | 73 + js/vendor/momentjs/src/locale/ms.js | 73 + js/vendor/momentjs/src/locale/my.js | 84 + js/vendor/momentjs/src/locale/nb.js | 52 + js/vendor/momentjs/src/locale/ne.js | 112 + js/vendor/momentjs/src/locale/nl.js | 62 + js/vendor/momentjs/src/locale/nn.js | 51 + js/vendor/momentjs/src/locale/pl.js | 95 + js/vendor/momentjs/src/locale/pt-br.js | 51 + js/vendor/momentjs/src/locale/pt.js | 55 + js/vendor/momentjs/src/locale/ro.js | 65 + js/vendor/momentjs/src/locale/ru.js | 156 + js/vendor/momentjs/src/locale/se.js | 51 + js/vendor/momentjs/src/locale/si.js | 56 + js/vendor/momentjs/src/locale/sk.js | 141 + js/vendor/momentjs/src/locale/sl.js | 150 + js/vendor/momentjs/src/locale/sq.js | 60 + js/vendor/momentjs/src/locale/sr-cyrl.js | 99 + js/vendor/momentjs/src/locale/sr.js | 99 + js/vendor/momentjs/src/locale/sv.js | 58 + js/vendor/momentjs/src/locale/sw.js | 49 + js/vendor/momentjs/src/locale/ta.js | 120 + js/vendor/momentjs/src/locale/te.js | 78 + js/vendor/momentjs/src/locale/th.js | 56 + js/vendor/momentjs/src/locale/tl-ph.js | 53 + js/vendor/momentjs/src/locale/tlh.js | 109 + js/vendor/momentjs/src/locale/tr.js | 81 + js/vendor/momentjs/src/locale/tzl.js | 78 + js/vendor/momentjs/src/locale/tzm-latn.js | 49 + js/vendor/momentjs/src/locale/tzm.js | 49 + js/vendor/momentjs/src/locale/uk.js | 137 + js/vendor/momentjs/src/locale/uz.js | 49 + js/vendor/momentjs/src/locale/vi.js | 57 + js/vendor/momentjs/src/locale/zh-cn.js | 118 + js/vendor/momentjs/src/locale/zh-tw.js | 91 + js/vendor/momentjs/src/moment.js | 71 + js/vendor/momentjs/templates/amd-named.js | 7 + js/vendor/momentjs/templates/amd.js | 7 + js/vendor/momentjs/templates/default.js | 5 + js/vendor/momentjs/templates/globals.js | 5 + js/vendor/momentjs/templates/locale-header.js | 6 + js/vendor/momentjs/templates/test-header.js | 6 + 310 files changed, 72278 insertions(+), 10670 deletions(-) delete mode 100644 js/vendor/momentjs/Moment.js.nuspec delete mode 100644 js/vendor/momentjs/benchmarks/clone.js create mode 100644 js/vendor/momentjs/locale/dv.js create mode 100644 js/vendor/momentjs/locale/en-ie.js create mode 100644 js/vendor/momentjs/locale/en-nz.js create mode 100644 js/vendor/momentjs/locale/fr-ch.js create mode 100644 js/vendor/momentjs/locale/gd.js create mode 100644 js/vendor/momentjs/locale/jv.js create mode 100644 js/vendor/momentjs/locale/kk.js create mode 100644 js/vendor/momentjs/locale/lo.js create mode 100644 js/vendor/momentjs/locale/me.js create mode 100644 js/vendor/momentjs/locale/ms.js create mode 100644 js/vendor/momentjs/locale/se.js create mode 100644 js/vendor/momentjs/locale/si.js create mode 100644 js/vendor/momentjs/locale/sw.js create mode 100644 js/vendor/momentjs/locale/te.js create mode 100644 js/vendor/momentjs/locale/tlh.js create mode 100644 js/vendor/momentjs/locale/tzl.js delete mode 100644 js/vendor/momentjs/meteor/README.md delete mode 100644 js/vendor/momentjs/meteor/export.js delete mode 100644 js/vendor/momentjs/meteor/test.js create mode 100644 js/vendor/momentjs/min/tests.js delete mode 100755 js/vendor/momentjs/scripts/npm_prepublish.sh create mode 100644 js/vendor/momentjs/src/lib/create/check-overflow.js create mode 100644 js/vendor/momentjs/src/lib/create/date-from-array.js create mode 100644 js/vendor/momentjs/src/lib/create/from-anything.js create mode 100644 js/vendor/momentjs/src/lib/create/from-array.js create mode 100644 js/vendor/momentjs/src/lib/create/from-object.js create mode 100644 js/vendor/momentjs/src/lib/create/from-string-and-array.js create mode 100644 js/vendor/momentjs/src/lib/create/from-string-and-format.js create mode 100644 js/vendor/momentjs/src/lib/create/from-string.js create mode 100644 js/vendor/momentjs/src/lib/create/local.js create mode 100644 js/vendor/momentjs/src/lib/create/parsing-flags.js create mode 100644 js/vendor/momentjs/src/lib/create/utc.js create mode 100644 js/vendor/momentjs/src/lib/create/valid.js create mode 100644 js/vendor/momentjs/src/lib/duration/abs.js create mode 100644 js/vendor/momentjs/src/lib/duration/add-subtract.js create mode 100644 js/vendor/momentjs/src/lib/duration/as.js create mode 100644 js/vendor/momentjs/src/lib/duration/bubble.js create mode 100644 js/vendor/momentjs/src/lib/duration/constructor.js create mode 100644 js/vendor/momentjs/src/lib/duration/create.js create mode 100644 js/vendor/momentjs/src/lib/duration/duration.js create mode 100644 js/vendor/momentjs/src/lib/duration/get.js create mode 100644 js/vendor/momentjs/src/lib/duration/humanize.js create mode 100644 js/vendor/momentjs/src/lib/duration/iso-string.js create mode 100644 js/vendor/momentjs/src/lib/duration/prototype.js create mode 100644 js/vendor/momentjs/src/lib/format/format.js create mode 100644 js/vendor/momentjs/src/lib/locale/calendar.js create mode 100644 js/vendor/momentjs/src/lib/locale/constructor.js create mode 100644 js/vendor/momentjs/src/lib/locale/en.js create mode 100644 js/vendor/momentjs/src/lib/locale/formats.js create mode 100644 js/vendor/momentjs/src/lib/locale/invalid.js create mode 100644 js/vendor/momentjs/src/lib/locale/lists.js create mode 100644 js/vendor/momentjs/src/lib/locale/locale.js create mode 100644 js/vendor/momentjs/src/lib/locale/locales.js create mode 100644 js/vendor/momentjs/src/lib/locale/ordinal.js create mode 100644 js/vendor/momentjs/src/lib/locale/pre-post-format.js create mode 100644 js/vendor/momentjs/src/lib/locale/prototype.js create mode 100644 js/vendor/momentjs/src/lib/locale/relative.js create mode 100644 js/vendor/momentjs/src/lib/locale/set.js create mode 100644 js/vendor/momentjs/src/lib/moment/add-subtract.js create mode 100644 js/vendor/momentjs/src/lib/moment/calendar.js create mode 100644 js/vendor/momentjs/src/lib/moment/clone.js create mode 100644 js/vendor/momentjs/src/lib/moment/compare.js create mode 100644 js/vendor/momentjs/src/lib/moment/constructor.js create mode 100644 js/vendor/momentjs/src/lib/moment/creation-data.js create mode 100644 js/vendor/momentjs/src/lib/moment/diff.js create mode 100644 js/vendor/momentjs/src/lib/moment/format.js create mode 100644 js/vendor/momentjs/src/lib/moment/from.js create mode 100644 js/vendor/momentjs/src/lib/moment/get-set.js create mode 100644 js/vendor/momentjs/src/lib/moment/locale.js create mode 100644 js/vendor/momentjs/src/lib/moment/min-max.js create mode 100644 js/vendor/momentjs/src/lib/moment/moment.js create mode 100644 js/vendor/momentjs/src/lib/moment/now.js create mode 100644 js/vendor/momentjs/src/lib/moment/prototype.js create mode 100644 js/vendor/momentjs/src/lib/moment/start-end-of.js create mode 100644 js/vendor/momentjs/src/lib/moment/to-type.js create mode 100644 js/vendor/momentjs/src/lib/moment/to.js create mode 100644 js/vendor/momentjs/src/lib/moment/valid.js create mode 100644 js/vendor/momentjs/src/lib/parse/regex.js create mode 100644 js/vendor/momentjs/src/lib/parse/token.js create mode 100644 js/vendor/momentjs/src/lib/units/aliases.js create mode 100644 js/vendor/momentjs/src/lib/units/constants.js create mode 100644 js/vendor/momentjs/src/lib/units/day-of-month.js create mode 100644 js/vendor/momentjs/src/lib/units/day-of-week.js create mode 100644 js/vendor/momentjs/src/lib/units/day-of-year.js create mode 100644 js/vendor/momentjs/src/lib/units/hour.js create mode 100644 js/vendor/momentjs/src/lib/units/millisecond.js create mode 100644 js/vendor/momentjs/src/lib/units/minute.js create mode 100644 js/vendor/momentjs/src/lib/units/month.js create mode 100644 js/vendor/momentjs/src/lib/units/offset.js create mode 100644 js/vendor/momentjs/src/lib/units/quarter.js create mode 100644 js/vendor/momentjs/src/lib/units/second.js create mode 100644 js/vendor/momentjs/src/lib/units/timestamp.js create mode 100644 js/vendor/momentjs/src/lib/units/timezone.js create mode 100644 js/vendor/momentjs/src/lib/units/units.js create mode 100644 js/vendor/momentjs/src/lib/units/week-calendar-utils.js create mode 100644 js/vendor/momentjs/src/lib/units/week-year.js create mode 100644 js/vendor/momentjs/src/lib/units/week.js create mode 100644 js/vendor/momentjs/src/lib/units/year.js create mode 100644 js/vendor/momentjs/src/lib/utils/abs-ceil.js create mode 100644 js/vendor/momentjs/src/lib/utils/abs-floor.js create mode 100644 js/vendor/momentjs/src/lib/utils/compare-arrays.js create mode 100644 js/vendor/momentjs/src/lib/utils/defaults.js create mode 100644 js/vendor/momentjs/src/lib/utils/deprecate.js create mode 100644 js/vendor/momentjs/src/lib/utils/extend.js create mode 100644 js/vendor/momentjs/src/lib/utils/has-own-prop.js create mode 100644 js/vendor/momentjs/src/lib/utils/hooks.js create mode 100644 js/vendor/momentjs/src/lib/utils/is-array.js create mode 100644 js/vendor/momentjs/src/lib/utils/is-date.js create mode 100644 js/vendor/momentjs/src/lib/utils/is-function.js create mode 100644 js/vendor/momentjs/src/lib/utils/is-undefined.js create mode 100644 js/vendor/momentjs/src/lib/utils/map.js create mode 100644 js/vendor/momentjs/src/lib/utils/to-int.js create mode 100644 js/vendor/momentjs/src/lib/utils/zero-fill.js create mode 100644 js/vendor/momentjs/src/locale/af.js create mode 100644 js/vendor/momentjs/src/locale/ar-ma.js create mode 100644 js/vendor/momentjs/src/locale/ar-sa.js create mode 100644 js/vendor/momentjs/src/locale/ar-tn.js create mode 100644 js/vendor/momentjs/src/locale/ar.js create mode 100644 js/vendor/momentjs/src/locale/az.js create mode 100644 js/vendor/momentjs/src/locale/be.js create mode 100644 js/vendor/momentjs/src/locale/bg.js create mode 100644 js/vendor/momentjs/src/locale/bn.js create mode 100644 js/vendor/momentjs/src/locale/bo.js create mode 100644 js/vendor/momentjs/src/locale/br.js create mode 100644 js/vendor/momentjs/src/locale/bs.js create mode 100644 js/vendor/momentjs/src/locale/ca.js create mode 100644 js/vendor/momentjs/src/locale/cs.js create mode 100644 js/vendor/momentjs/src/locale/cv.js create mode 100644 js/vendor/momentjs/src/locale/cy.js create mode 100644 js/vendor/momentjs/src/locale/da.js create mode 100644 js/vendor/momentjs/src/locale/de-at.js create mode 100644 js/vendor/momentjs/src/locale/de.js create mode 100644 js/vendor/momentjs/src/locale/dv.js create mode 100644 js/vendor/momentjs/src/locale/el.js create mode 100644 js/vendor/momentjs/src/locale/en-au.js create mode 100644 js/vendor/momentjs/src/locale/en-ca.js create mode 100644 js/vendor/momentjs/src/locale/en-gb.js create mode 100644 js/vendor/momentjs/src/locale/en-ie.js create mode 100644 js/vendor/momentjs/src/locale/en-nz.js create mode 100644 js/vendor/momentjs/src/locale/eo.js create mode 100644 js/vendor/momentjs/src/locale/es.js create mode 100644 js/vendor/momentjs/src/locale/et.js create mode 100644 js/vendor/momentjs/src/locale/eu.js create mode 100644 js/vendor/momentjs/src/locale/fa.js create mode 100644 js/vendor/momentjs/src/locale/fi.js create mode 100644 js/vendor/momentjs/src/locale/fo.js create mode 100644 js/vendor/momentjs/src/locale/fr-ca.js create mode 100644 js/vendor/momentjs/src/locale/fr-ch.js create mode 100644 js/vendor/momentjs/src/locale/fr.js create mode 100644 js/vendor/momentjs/src/locale/fy.js create mode 100644 js/vendor/momentjs/src/locale/gd.js create mode 100644 js/vendor/momentjs/src/locale/gl.js create mode 100644 js/vendor/momentjs/src/locale/he.js create mode 100644 js/vendor/momentjs/src/locale/hi.js create mode 100644 js/vendor/momentjs/src/locale/hr.js create mode 100644 js/vendor/momentjs/src/locale/hu.js create mode 100644 js/vendor/momentjs/src/locale/hy-am.js create mode 100644 js/vendor/momentjs/src/locale/id.js create mode 100644 js/vendor/momentjs/src/locale/is.js create mode 100644 js/vendor/momentjs/src/locale/it.js create mode 100644 js/vendor/momentjs/src/locale/ja.js create mode 100644 js/vendor/momentjs/src/locale/jv.js create mode 100644 js/vendor/momentjs/src/locale/ka.js create mode 100644 js/vendor/momentjs/src/locale/kk.js create mode 100644 js/vendor/momentjs/src/locale/km.js create mode 100644 js/vendor/momentjs/src/locale/ko.js create mode 100644 js/vendor/momentjs/src/locale/lb.js create mode 100644 js/vendor/momentjs/src/locale/lo.js create mode 100644 js/vendor/momentjs/src/locale/lt.js create mode 100644 js/vendor/momentjs/src/locale/lv.js create mode 100644 js/vendor/momentjs/src/locale/me.js create mode 100644 js/vendor/momentjs/src/locale/mk.js create mode 100644 js/vendor/momentjs/src/locale/ml.js create mode 100644 js/vendor/momentjs/src/locale/mr.js create mode 100644 js/vendor/momentjs/src/locale/ms-my.js create mode 100644 js/vendor/momentjs/src/locale/ms.js create mode 100644 js/vendor/momentjs/src/locale/my.js create mode 100644 js/vendor/momentjs/src/locale/nb.js create mode 100644 js/vendor/momentjs/src/locale/ne.js create mode 100644 js/vendor/momentjs/src/locale/nl.js create mode 100644 js/vendor/momentjs/src/locale/nn.js create mode 100644 js/vendor/momentjs/src/locale/pl.js create mode 100644 js/vendor/momentjs/src/locale/pt-br.js create mode 100644 js/vendor/momentjs/src/locale/pt.js create mode 100644 js/vendor/momentjs/src/locale/ro.js create mode 100644 js/vendor/momentjs/src/locale/ru.js create mode 100644 js/vendor/momentjs/src/locale/se.js create mode 100644 js/vendor/momentjs/src/locale/si.js create mode 100644 js/vendor/momentjs/src/locale/sk.js create mode 100644 js/vendor/momentjs/src/locale/sl.js create mode 100644 js/vendor/momentjs/src/locale/sq.js create mode 100644 js/vendor/momentjs/src/locale/sr-cyrl.js create mode 100644 js/vendor/momentjs/src/locale/sr.js create mode 100644 js/vendor/momentjs/src/locale/sv.js create mode 100644 js/vendor/momentjs/src/locale/sw.js create mode 100644 js/vendor/momentjs/src/locale/ta.js create mode 100644 js/vendor/momentjs/src/locale/te.js create mode 100644 js/vendor/momentjs/src/locale/th.js create mode 100644 js/vendor/momentjs/src/locale/tl-ph.js create mode 100644 js/vendor/momentjs/src/locale/tlh.js create mode 100644 js/vendor/momentjs/src/locale/tr.js create mode 100644 js/vendor/momentjs/src/locale/tzl.js create mode 100644 js/vendor/momentjs/src/locale/tzm-latn.js create mode 100644 js/vendor/momentjs/src/locale/tzm.js create mode 100644 js/vendor/momentjs/src/locale/uk.js create mode 100644 js/vendor/momentjs/src/locale/uz.js create mode 100644 js/vendor/momentjs/src/locale/vi.js create mode 100644 js/vendor/momentjs/src/locale/zh-cn.js create mode 100644 js/vendor/momentjs/src/locale/zh-tw.js create mode 100644 js/vendor/momentjs/src/moment.js create mode 100644 js/vendor/momentjs/templates/amd-named.js create mode 100644 js/vendor/momentjs/templates/amd.js create mode 100644 js/vendor/momentjs/templates/default.js create mode 100644 js/vendor/momentjs/templates/globals.js create mode 100644 js/vendor/momentjs/templates/locale-header.js create mode 100644 js/vendor/momentjs/templates/test-header.js diff --git a/js/bower.json b/js/bower.json index 81fe97db8..ecdba9f70 100644 --- a/js/bower.json +++ b/js/bower.json @@ -29,7 +29,7 @@ "angular-sanitize": "~1.5.*", "angular-animate": "~1.5.*", "jquery": "~2.*", - "momentjs": "~2.9.*", + "momentjs": "~2.11.*", "es6-shim": "~0.*", "js-url": "~1.8.*", "masonry": "~4.0.0" diff --git a/js/vendor/momentjs/.bower.json b/js/vendor/momentjs/.bower.json index 0259a14d1..77bb34679 100644 --- a/js/vendor/momentjs/.bower.json +++ b/js/vendor/momentjs/.bower.json @@ -1,30 +1,33 @@ { "name": "moment", - "version": "2.9.0", "main": "moment.js", "ignore": [ "**/.*", - "node_modules", + "benchmarks", "bower_components", - "test", - "tests", + "meteor", + "node_modules", + "scripts", "tasks", + "test", "component.json", "composer.json", "CONTRIBUTING.md", "ender.js", "Gruntfile.js", + "Moment.js.nuspec", "package.js", "package.json" ], "homepage": "https://github.com/moment/moment", - "_release": "2.9.0", + "version": "2.11.2", + "_release": "2.11.2", "_resolution": { "type": "version", - "tag": "2.9.0", - "commit": "8b35bc74c0e88c1a8c58ccb90117a9edc9f6a479" + "tag": "2.11.2", + "commit": "c9afcbd8c4e0177d03b220a89ab19f62c6cc7bcf" }, "_source": "git://github.com/moment/moment.git", - "_target": "~2.9.*", + "_target": "~2.11.*", "_originalSource": "momentjs" } \ No newline at end of file diff --git a/js/vendor/momentjs/CHANGELOG.md b/js/vendor/momentjs/CHANGELOG.md index bc689ca4f..d98994bc1 100644 --- a/js/vendor/momentjs/CHANGELOG.md +++ b/js/vendor/momentjs/CHANGELOG.md @@ -1,6 +1,79 @@ Changelog ========= +### 2.11.2 (Fix ReDoS attack vector) + +* [#2939](https://github.com/moment/moment/pull/2939) use full-string match to speed up aspnet regex match + +### 2.11.1 [See full changelog](https://gist.github.com/ichernev/8ec3ee25b749b4cff3c2) + +## Bugfixes: +* [#2881](https://github.com/moment/moment/pull/2881) Revert "Merge pull request #2746 from mbad0la:develop" Sep->Sept +* [#2868](https://github.com/moment/moment/pull/2868) Add format and parse token Y, so it actually works +* [#2865](https://github.com/moment/moment/pull/2865) Use typeof checks for undefined for global variables +* [#2858](https://github.com/moment/moment/pull/2858) Fix Date mocking regression introduced in 2.11.0 +* [#2864](https://github.com/moment/moment/pull/2864) Include changelog in npm release +* [#2830](https://github.com/moment/moment/pull/2830) dep: add grunt-cli +* [#2869](https://github.com/moment/moment/pull/2869) Fix months parsing for some locales + +### 2.11.0 [See full changelog](https://gist.github.com/ichernev/6594bc29719dde6b2f66) + +* [#2624](https://github.com/moment/moment/pull/2624) Proper handling of invalid moments +* [#2634](https://github.com/moment/moment/pull/2634) Fix strict month parsing issue in cs,ru,sk +* [#2735](https://github.com/moment/moment/pull/2735) Reset the locale back to 'en' after defining all locales in min/locales.js +* [#2702](https://github.com/moment/moment/pull/2702) Week rework +* [#2746](https://github.com/moment/moment/pull/2746) Changed September Abbreviation to "Sept" in locale-specific english + files and default locale file +* [#2646](https://github.com/moment/moment/pull/2646) Fix [#2645](https://github.com/moment/moment/pull/2645) - invalid dates pre-1970 + +* [#2641](https://github.com/moment/moment/pull/2641) Implement basic format and comma as ms separator in ISO 8601 +* [#2665](https://github.com/moment/moment/pull/2665) Implement stricter weekday parsing +* [#2700](https://github.com/moment/moment/pull/2700) Add [Hh]mm and [Hh]mmss formatting tokens, so you can parse 123 with + hmm for example +* [#2565](https://github.com/moment/moment/pull/2565) [#2835](https://github.com/moment/moment/pull/2835) Expose arguments used for moment creation with creationData + (fix [#2443](https://github.com/moment/moment/pull/2443)) +* [#2648](https://github.com/moment/moment/pull/2648) fix issue [#2640](https://github.com/moment/moment/pull/2640): support instanceof operator +* [#2709](https://github.com/moment/moment/pull/2709) Add isSameOrAfter and isSameOrBefore comparison methods +* [#2721](https://github.com/moment/moment/pull/2721) Fix moment creation from object with strings values +* [#2740](https://github.com/moment/moment/pull/2740) Enable 'd hh:mm:ss.sss' format for durations +* [#2766](https://github.com/moment/moment/pull/2766) [#2833](https://github.com/moment/moment/pull/2833) Alternate Clock Source Support + +### 2.10.6 + +[#2515](https://github.com/moment/moment/pull/2515) Fix regression introduced +in `2.10.5` related to `moment.ISO_8601` parsing. + +### 2.10.5 [See full changelog](https://gist.github.com/ichernev/6ec13ac7efc396da44b2) + +Important changes: +* [#2357](https://github.com/moment/moment/pull/2357) Improve unit bubbling for ISO dates + this fixes day to year conversions to work around end-of-year (~365 days). As + a side effect 365 days is 11 months and 30 days, and 366 days is one year. +* [#2438](https://github.com/moment/moment/pull/2438) Fix inconsistent moment.min and moment.max results + Return invalid result if any of the inputs is invalid +* [#2494](https://github.com/moment/moment/pull/2494) Fix two digit year parsing with YYYY format + This brings the benefits of YY to YYYY +* [#2368](https://github.com/moment/moment/pull/2368) perf: use faster form of copying dates, across the board improvement + + +### 2.10.3 [See full changelog](https://gist.github.com/ichernev/f264b9bed5b00f8b1b7f) + +* add `moment.fn.to` and `moment.fn.toNow` (similar to `from` and `fromNow`) +* new locales (Sinhalese (si), Montenegrin (me), Javanese (ja)) +* performance improvements + +### 2.10.2 + +* fixed moment-with-locales in browser env caused by esperanto change + +### 2.10.1 + +* regression: Add moment.duration.fn back + +### 2.10.0 + +Ported code to es6 modules. + ### 2.9.0 [See full changelog](https://gist.github.com/ichernev/0c9a9b49951111a27ce7) languages: @@ -8,7 +81,7 @@ languages: * [2097](https://github.com/moment/moment/issues/2097) add ar-tn locale deprecations: -* [2074](https://github.com/moment/moment/issues/2074) Implement `moment.fn.utcOffset`, deprecate `momen.fn.zone` +* [2074](https://github.com/moment/moment/issues/2074) Implement `moment.fn.utcOffset`, deprecate `moment.fn.zone` features: * [2088](https://github.com/moment/moment/issues/2088) add moment.fn.isBetween @@ -235,7 +308,7 @@ Bugfix: Fixed parsing of first century dates Bugfix: Parsing 10Sep2001 should work as expected -Bugfix: Fixed wierdness with `moment.utc()` parsing. +Bugfix: Fixed weirdness with `moment.utc()` parsing. Changed language ordinal method to return the number + ordinal instead of just the ordinal. diff --git a/js/vendor/momentjs/LICENSE b/js/vendor/momentjs/LICENSE index bd172467a..9ee537448 100644 --- a/js/vendor/momentjs/LICENSE +++ b/js/vendor/momentjs/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2011-2014 Tim Wood, Iskren Chernev, Moment.js contributors +Copyright (c) 2011-2016 Tim Wood, Iskren Chernev, Moment.js contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation diff --git a/js/vendor/momentjs/Moment.js.nuspec b/js/vendor/momentjs/Moment.js.nuspec deleted file mode 100644 index 962482366..000000000 --- a/js/vendor/momentjs/Moment.js.nuspec +++ /dev/null @@ -1,28 +0,0 @@ - - - - Moment.js - 2.8.4 - Tim Wood - Cory Deppen, Iskren Chernev - A lightweight javascript date library for parsing, manipulating, and formatting dates. - - - Add LTS localised format that includes seconds - - Added formatToken 'x' for unix offset in milliseconds #1938 - - Support 24:00:00.000 to mean next day, at midnight. - - Accept 'date' key when creating moment with object - - Use native toISOString when we can - - Some bugfixes and language improvements - - http://momentjs.com/ - http://pbs.twimg.com/profile_images/482670411402858496/Xrtdc94q_normal.png - https://raw.github.com/timrwood/moment/master/LICENSE - JavaScript date time browser node.js - - - - - - - - diff --git a/js/vendor/momentjs/README.md b/js/vendor/momentjs/README.md index 6c25b5e95..6193e5eb8 100644 --- a/js/vendor/momentjs/README.md +++ b/js/vendor/momentjs/README.md @@ -1,9 +1,25 @@ +[![Join the chat at https://gitter.im/moment/moment](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/moment/moment?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) + [![NPM version][npm-version-image]][npm-url] [![NPM downloads][npm-downloads-image]][npm-url] [![MIT License][license-image]][license-url] [![Build Status][travis-image]][travis-url] +[![Coverage Status](https://coveralls.io/repos/moment/moment/badge.svg?branch=develop)](https://coveralls.io/r/moment/moment?branch=develop) A lightweight JavaScript date library for parsing, validating, manipulating, and formatting dates. ## [Documentation](http://momentjs.com/docs/) +## Port to ECMAScript 6 (version 2.10.0) + +Moment 2.10.0 does not bring any new features, but the code is now written in +ECMAScript 6 modules and placed inside `src/`. Previously `moment.js`, `locale/*.js` and +`test/moment/*.js`, `test/locale/*.js` contained the source of the project. Now +the source is in `src/`, temporary build (ECMAScript 5) files are placed under +`build/umd/` (for running tests during development), and the `moment.js` and +`locale/*.js` files are updated only on release. + +If you want to use a particular revision of the code, make sure to run +`grunt transpile update-index`, so `moment.js` and `locales/*.js` are synced +with `src/*`. We might place that in a commit hook in the future. + ## Upgrading to 2.0.0 There are a number of small backwards incompatible changes with version 2.0.0. [See the full descriptions here](https://gist.github.com/timrwood/e72f2eef320ed9e37c51#backwards-incompatible-changes) @@ -24,6 +40,9 @@ There are a number of small backwards incompatible changes with version 2.0.0. [ ## [Contributing](https://github.com/moment/moment/blob/develop/CONTRIBUTING.md) +We're looking for co-maintainers! If you want to become a master of time please +write to [ichernev](https://github.com/ichernev). + ## License Moment.js is freely distributable under the terms of the [MIT license](https://github.com/moment/moment/blob/develop/LICENSE). diff --git a/js/vendor/momentjs/benchmarks/clone.js b/js/vendor/momentjs/benchmarks/clone.js deleted file mode 100644 index e8a61f3d9..000000000 --- a/js/vendor/momentjs/benchmarks/clone.js +++ /dev/null @@ -1,10 +0,0 @@ -var Benchmark = require('benchmark'), - moment = require("./../moment.js"), - base = moment('2013-05-25'); - -module.exports = { - name: 'clone', - onComplete: function(){console.log('done');}, - fn: function(){base.clone();}, - async: true -}; diff --git a/js/vendor/momentjs/bower.json b/js/vendor/momentjs/bower.json index ab8ee66af..d9f47e825 100644 --- a/js/vendor/momentjs/bower.json +++ b/js/vendor/momentjs/bower.json @@ -1,19 +1,21 @@ { "name": "moment", - "version": "2.9.0", "main": "moment.js", "ignore": [ "**/.*", - "node_modules", + "benchmarks", "bower_components", - "test", - "tests", + "meteor", + "node_modules", + "scripts", "tasks", + "test", "component.json", "composer.json", "CONTRIBUTING.md", "ender.js", "Gruntfile.js", + "Moment.js.nuspec", "package.js", "package.json" ] diff --git a/js/vendor/momentjs/locale/af.js b/js/vendor/momentjs/locale/af.js index 9c7ad95d8..1a96bf473 100644 --- a/js/vendor/momentjs/locale/af.js +++ b/js/vendor/momentjs/locale/af.js @@ -1,17 +1,16 @@ -// moment.js locale configuration -// locale : afrikaans (af) -// author : Werner Mollentze : https://github.com/wernerm +//! moment.js locale configuration +//! locale : afrikaans (af) +//! author : Werner Mollentze : https://github.com/wernerm -(function (factory) { - if (typeof define === 'function' && define.amd) { - define(['moment'], factory); // AMD - } else if (typeof exports === 'object') { - module.exports = factory(require('../moment')); // Node - } else { - factory((typeof global !== 'undefined' ? global : this).moment); // node or other global - } -}(function (moment) { - return moment.defineLocale('af', { +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var af = moment.defineLocale('af', { months : 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split('_'), monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'), weekdays : 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split('_'), @@ -30,11 +29,11 @@ }, longDateFormat : { LT : 'HH:mm', - LTS : 'LT:ss', + LTS : 'HH:mm:ss', L : 'DD/MM/YYYY', LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY LT', - LLLL : 'dddd, D MMMM YYYY LT' + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd, D MMMM YYYY HH:mm' }, calendar : { sameDay : '[Vandag om] LT', @@ -68,4 +67,7 @@ doy : 4 // Die week wat die 4de Januarie bevat is die eerste week van die jaar. } }); -})); + + return af; + +})); \ No newline at end of file diff --git a/js/vendor/momentjs/locale/ar-ma.js b/js/vendor/momentjs/locale/ar-ma.js index 7add17220..9bddd5ac4 100644 --- a/js/vendor/momentjs/locale/ar-ma.js +++ b/js/vendor/momentjs/locale/ar-ma.js @@ -1,18 +1,17 @@ -// moment.js locale configuration -// locale : Moroccan Arabic (ar-ma) -// author : ElFadili Yassine : https://github.com/ElFadiliY -// author : Abdel Said : https://github.com/abdelsaid +//! moment.js locale configuration +//! locale : Moroccan Arabic (ar-ma) +//! author : ElFadili Yassine : https://github.com/ElFadiliY +//! author : Abdel Said : https://github.com/abdelsaid -(function (factory) { - if (typeof define === 'function' && define.amd) { - define(['moment'], factory); // AMD - } else if (typeof exports === 'object') { - module.exports = factory(require('../moment')); // Node - } else { - factory((typeof global !== 'undefined' ? global : this).moment); // node or other global - } -}(function (moment) { - return moment.defineLocale('ar-ma', { +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var ar_ma = moment.defineLocale('ar-ma', { months : 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'), monthsShort : 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'), weekdays : 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), @@ -20,11 +19,11 @@ weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'), longDateFormat : { LT : 'HH:mm', - LTS : 'LT:ss', + LTS : 'HH:mm:ss', L : 'DD/MM/YYYY', LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY LT', - LLLL : 'dddd D MMMM YYYY LT' + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' }, calendar : { sameDay: '[اليوم على الساعة] LT', @@ -54,4 +53,7 @@ doy : 12 // The week that contains Jan 1st is the first week of the year. } }); -})); + + return ar_ma; + +})); \ No newline at end of file diff --git a/js/vendor/momentjs/locale/ar-sa.js b/js/vendor/momentjs/locale/ar-sa.js index 731f97be3..7541c52dc 100644 --- a/js/vendor/momentjs/locale/ar-sa.js +++ b/js/vendor/momentjs/locale/ar-sa.js @@ -1,16 +1,15 @@ -// moment.js locale configuration -// locale : Arabic Saudi Arabia (ar-sa) -// author : Suhail Alkowaileet : https://github.com/xsoh +//! moment.js locale configuration +//! locale : Arabic Saudi Arabia (ar-sa) +//! author : Suhail Alkowaileet : https://github.com/xsoh + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + -(function (factory) { - if (typeof define === 'function' && define.amd) { - define(['moment'], factory); // AMD - } else if (typeof exports === 'object') { - module.exports = factory(require('../moment')); // Node - } else { - factory((typeof global !== 'undefined' ? global : this).moment); // node or other global - } -}(function (moment) { var symbolMap = { '1': '١', '2': '٢', @@ -35,7 +34,7 @@ '٠': '0' }; - return moment.defineLocale('ar-sa', { + var ar_sa = moment.defineLocale('ar-sa', { months : 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), monthsShort : 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), weekdays : 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), @@ -46,8 +45,8 @@ LTS : 'HH:mm:ss', L : 'DD/MM/YYYY', LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY LT', - LLLL : 'dddd D MMMM YYYY LT' + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' }, meridiemParse: /ص|م/, isPM : function (input) { @@ -98,4 +97,7 @@ doy : 12 // The week that contains Jan 1st is the first week of the year. } }); -})); + + return ar_sa; + +})); \ No newline at end of file diff --git a/js/vendor/momentjs/locale/ar-tn.js b/js/vendor/momentjs/locale/ar-tn.js index b1ddb4ff0..b4ee8fc6d 100644 --- a/js/vendor/momentjs/locale/ar-tn.js +++ b/js/vendor/momentjs/locale/ar-tn.js @@ -1,16 +1,15 @@ -// moment.js locale configuration -// locale : Tunisian Arabic (ar-tn) +//! moment.js locale configuration +//! locale : Tunisian Arabic (ar-tn) -(function (factory) { - if (typeof define === 'function' && define.amd) { - define(['moment'], factory); // AMD - } else if (typeof exports === 'object') { - module.exports = factory(require('../moment')); // Node - } else { - factory((typeof global !== 'undefined' ? global : this).moment); // node or other global - } -}(function (moment) { - return moment.defineLocale('ar-tn', { +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var ar_tn = moment.defineLocale('ar-tn', { months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), @@ -18,11 +17,11 @@ weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), longDateFormat: { LT: 'HH:mm', - LTS: 'LT:ss', + LTS: 'HH:mm:ss', L: 'DD/MM/YYYY', LL: 'D MMMM YYYY', - LLL: 'D MMMM YYYY LT', - LLLL: 'dddd D MMMM YYYY LT' + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' }, calendar: { sameDay: '[اليوم على الساعة] LT', @@ -52,4 +51,7 @@ doy: 4 // The week that contains Jan 4th is the first week of the year. } }); -})); + + return ar_tn; + +})); \ No newline at end of file diff --git a/js/vendor/momentjs/locale/ar.js b/js/vendor/momentjs/locale/ar.js index 828e61876..3613c594b 100644 --- a/js/vendor/momentjs/locale/ar.js +++ b/js/vendor/momentjs/locale/ar.js @@ -1,18 +1,17 @@ -// moment.js locale configuration -// Locale: Arabic (ar) -// Author: Abdel Said: https://github.com/abdelsaid -// Changes in months, weekdays: Ahmed Elkhatib -// Native plural forms: forabi https://github.com/forabi +//! moment.js locale configuration +//! Locale: Arabic (ar) +//! Author: Abdel Said: https://github.com/abdelsaid +//! Changes in months, weekdays: Ahmed Elkhatib +//! Native plural forms: forabi https://github.com/forabi + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + -(function (factory) { - if (typeof define === 'function' && define.amd) { - define(['moment'], factory); // AMD - } else if (typeof exports === 'object') { - module.exports = factory(require('../moment')); // Node - } else { - factory((typeof global !== 'undefined' ? global : this).moment); // node or other global - } -}(function (moment) { var symbolMap = { '1': '١', '2': '٢', @@ -68,7 +67,7 @@ 'كانون الأول ديسمبر' ]; - return moment.defineLocale('ar', { + var ar = moment.defineLocale('ar', { months : months, monthsShort : months, weekdays : 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), @@ -77,10 +76,10 @@ longDateFormat : { LT : 'HH:mm', LTS : 'HH:mm:ss', - L : 'DD/MM/YYYY', + L : 'D/\u200FM/\u200FYYYY', LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY LT', - LLLL : 'dddd D MMMM YYYY LT' + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' }, meridiemParse: /ص|م/, isPM : function (input) { @@ -117,7 +116,7 @@ yy : pluralize('y') }, preparse: function (string) { - return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { + return string.replace(/\u200f/g, '').replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { return numberMap[match]; }).replace(/،/g, ','); }, @@ -131,4 +130,7 @@ doy : 12 // The week that contains Jan 1st is the first week of the year. } }); -})); + + return ar; + +})); \ No newline at end of file diff --git a/js/vendor/momentjs/locale/az.js b/js/vendor/momentjs/locale/az.js index 7624feea7..5ff9b088c 100644 --- a/js/vendor/momentjs/locale/az.js +++ b/js/vendor/momentjs/locale/az.js @@ -1,42 +1,37 @@ -// moment.js locale configuration -// locale : azerbaijani (az) -// author : topchiyev : https://github.com/topchiyev +//! moment.js locale configuration +//! locale : azerbaijani (az) +//! author : topchiyev : https://github.com/topchiyev + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + -(function (factory) { - if (typeof define === 'function' && define.amd) { - define(['moment'], factory); // AMD - } else if (typeof exports === 'object') { - module.exports = factory(require('../moment')); // Node - } else { - factory((typeof global !== 'undefined' ? global : this).moment); // node or other global - } -}(function (moment) { var suffixes = { 1: '-inci', 5: '-inci', 8: '-inci', 70: '-inci', 80: '-inci', - 2: '-nci', 7: '-nci', 20: '-nci', 50: '-nci', - 3: '-üncü', 4: '-üncü', 100: '-üncü', - 6: '-ncı', - 9: '-uncu', 10: '-uncu', 30: '-uncu', - 60: '-ıncı', 90: '-ıncı' }; - return moment.defineLocale('az', { + + var az = moment.defineLocale('az', { months : 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split('_'), monthsShort : 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'), weekdays : 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split('_'), @@ -44,11 +39,11 @@ weekdaysMin : 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'), longDateFormat : { LT : 'HH:mm', - LTS : 'LT:ss', + LTS : 'HH:mm:ss', L : 'DD.MM.YYYY', LL : 'D MMMM YYYY', - LLL : 'D MMMM YYYY LT', - LLLL : 'dddd, D MMMM YYYY LT' + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd, D MMMM YYYY HH:mm' }, calendar : { sameDay : '[bugün saat] LT', @@ -96,7 +91,6 @@ var a = number % 10, b = number % 100 - a, c = number >= 100 ? 100 : null; - return number + (suffixes[a] || suffixes[b] || suffixes[c]); }, week : { @@ -104,4 +98,7 @@ doy : 7 // The week that contains Jan 1st is the first week of the year. } }); -})); + + return az; + +})); \ No newline at end of file diff --git a/js/vendor/momentjs/locale/be.js b/js/vendor/momentjs/locale/be.js index d888e21c4..c6294b34f 100644 --- a/js/vendor/momentjs/locale/be.js +++ b/js/vendor/momentjs/locale/be.js @@ -1,23 +1,21 @@ -// moment.js locale configuration -// locale : belarusian (be) -// author : Dmitry Demidov : https://github.com/demidov91 -// author: Praleska: http://praleska.pro/ -// Author : Menelion Elensúle : https://github.com/Oire +//! moment.js locale configuration +//! locale : belarusian (be) +//! author : Dmitry Demidov : https://github.com/demidov91 +//! author: Praleska: http://praleska.pro/ +//! Author : Menelion Elensúle : https://github.com/Oire + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + -(function (factory) { - if (typeof define === 'function' && define.amd) { - define(['moment'], factory); // AMD - } else if (typeof exports === 'object') { - module.exports = factory(require('../moment')); // Node - } else { - factory((typeof global !== 'undefined' ? global : this).moment); // node or other global - } -}(function (moment) { function plural(word, num) { var forms = word.split('_'); return num % 10 === 1 && num % 100 !== 11 ? forms[0] : (num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]); } - function relativeTimeWithPlural(number, withoutSuffix, key) { var format = { 'mm': withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін', @@ -37,45 +35,26 @@ } } - function monthsCaseReplace(m, format) { - var months = { - 'nominative': 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split('_'), - 'accusative': 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split('_') - }, - - nounCase = (/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/).test(format) ? - 'accusative' : - 'nominative'; - - return months[nounCase][m.month()]; - } - - function weekdaysCaseReplace(m, format) { - var weekdays = { - 'nominative': 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split('_'), - 'accusative': 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split('_') + var be = moment.defineLocale('be', { + months : { + format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split('_'), + standalone: 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split('_') }, - - nounCase = (/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/).test(format) ? - 'accusative' : - 'nominative'; - - return weekdays[nounCase][m.day()]; - } - - return moment.defineLocale('be', { - months : monthsCaseReplace, monthsShort : 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split('_'), - weekdays : weekdaysCaseReplace, + weekdays : { + format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split('_'), + standalone: 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split('_'), + isFormat: /\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/ + }, weekdaysShort : 'нд_пн_ат_ср_чц_пт_сб'.split('_'), weekdaysMin : 'нд_пн_ат_ср_чц_пт_сб'.split('_'), longDateFormat : { LT : 'HH:mm', - LTS : 'LT:ss', + LTS : 'HH:mm:ss', L : 'DD.MM.YYYY', LL : 'D MMMM YYYY г.', - LLL : 'D MMMM YYYY г., LT', - LLLL : 'dddd, D MMMM YYYY г., LT' + LLL : 'D MMMM YYYY г., HH:mm', + LLLL : 'dddd, D MMMM YYYY г