js_stack 1.10.0 → 1.11.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +12 -0
  3. data/README.md +6 -6
  4. data/js_stack.gemspec +0 -1
  5. data/lib/js_stack/version.rb +1 -1
  6. data/lib/js_stack.rb +0 -1
  7. data/vendor/assets/javascripts/js_stack/base/backbone/1.2.3.js +1894 -0
  8. data/vendor/assets/javascripts/js_stack/base/backbone.js +1 -1
  9. data/vendor/assets/javascripts/js_stack/base/marionette/{2.4.1.js → 2.4.3.js} +265 -138
  10. data/vendor/assets/javascripts/js_stack/base/marionette.js +1 -1
  11. data/vendor/assets/javascripts/js_stack/plugins/backbone/stickit/{0.9.0.js → 0.9.2.js} +1 -1
  12. data/vendor/assets/javascripts/js_stack/plugins/backbone.stickit.js +1 -1
  13. data/vendor/assets/javascripts/js_stack/plugins/moment/2.10.6.js +3195 -0
  14. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/af.js +72 -0
  15. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/ar-ma.js +58 -0
  16. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/ar-sa.js +102 -0
  17. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/ar-tn.js +56 -0
  18. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/ar.js +135 -0
  19. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/az.js +103 -0
  20. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/be.js +146 -0
  21. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/bg.js +89 -0
  22. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/bn.js +112 -0
  23. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/bo.js +109 -0
  24. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/br.js +106 -0
  25. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/bs.js +140 -0
  26. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/ca.js +78 -0
  27. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/cs.js +156 -0
  28. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/cv.js +62 -0
  29. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/cy.js +78 -0
  30. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/da.js +59 -0
  31. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/de-at.js +75 -0
  32. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/de.js +74 -0
  33. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/el.js +93 -0
  34. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/en-au.js +65 -0
  35. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/en-ca.js +62 -0
  36. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/en-gb.js +66 -0
  37. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/eo.js +72 -0
  38. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/es.js +78 -0
  39. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/et.js +79 -0
  40. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/eu.js +63 -0
  41. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/fa.js +104 -0
  42. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/fi.js +106 -0
  43. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/fo.js +59 -0
  44. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/fr-ca.js +57 -0
  45. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/fr.js +61 -0
  46. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/fy.js +70 -0
  47. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/gl.js +74 -0
  48. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/he.js +81 -0
  49. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/hi.js +122 -0
  50. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/hr.js +139 -0
  51. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/hu.js +108 -0
  52. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/hy-am.js +110 -0
  53. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/id.js +82 -0
  54. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/is.js +126 -0
  55. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/it.js +69 -0
  56. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/ja.js +64 -0
  57. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/jv.js +82 -0
  58. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/ka.js +102 -0
  59. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/km.js +57 -0
  60. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/ko.js +67 -0
  61. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/lb.js +133 -0
  62. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/lt.js +124 -0
  63. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/lv.js +95 -0
  64. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/me.js +108 -0
  65. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/mk.js +89 -0
  66. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/ml.js +70 -0
  67. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/mr.js +120 -0
  68. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/ms-my.js +81 -0
  69. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/ms.js +81 -0
  70. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/my.js +92 -0
  71. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/nb.js +60 -0
  72. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/ne.js +122 -0
  73. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/nl.js +70 -0
  74. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/nn.js +59 -0
  75. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/pl.js +104 -0
  76. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/pt-br.js +59 -0
  77. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/pt.js +63 -0
  78. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/ro.js +73 -0
  79. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/ru.js +163 -0
  80. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/si.js +64 -0
  81. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/sk.js +157 -0
  82. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/sl.js +159 -0
  83. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/sq.js +68 -0
  84. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/sr-cyrl.js +107 -0
  85. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/sr.js +107 -0
  86. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/sv.js +66 -0
  87. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/ta.js +94 -0
  88. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/th.js +64 -0
  89. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/tl-ph.js +61 -0
  90. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/tr.js +89 -0
  91. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/tzl.js +84 -0
  92. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/tzm-latn.js +57 -0
  93. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/tzm.js +57 -0
  94. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/uk.js +152 -0
  95. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/uz.js +57 -0
  96. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/vi.js +65 -0
  97. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/zh-cn.js +126 -0
  98. data/vendor/assets/javascripts/js_stack/plugins/moment/locale/zh-tw.js +100 -0
  99. data/vendor/assets/javascripts/js_stack/plugins/moment.js +1 -1
  100. data/vendor/assets/javascripts/js_stack/plugins/underscore/string/3.2.2.js +1186 -0
  101. data/vendor/assets/javascripts/js_stack/plugins/underscore.string.js +1 -1
  102. metadata +93 -20
@@ -0,0 +1,108 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Montenegrin (me)
3
+ //! author : Miodrag Nikač <miodrag@restartit.me> : https://github.com/miodragnikac
4
+
5
+ (function (global, factory) {
6
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
7
+ typeof define === 'function' && define.amd ? define(['moment'], factory) :
8
+ factory(global.moment)
9
+ }(this, function (moment) { 'use strict';
10
+
11
+
12
+ var translator = {
13
+ words: { //Different grammatical cases
14
+ m: ['jedan minut', 'jednog minuta'],
15
+ mm: ['minut', 'minuta', 'minuta'],
16
+ h: ['jedan sat', 'jednog sata'],
17
+ hh: ['sat', 'sata', 'sati'],
18
+ dd: ['dan', 'dana', 'dana'],
19
+ MM: ['mjesec', 'mjeseca', 'mjeseci'],
20
+ yy: ['godina', 'godine', 'godina']
21
+ },
22
+ correctGrammaticalCase: function (number, wordKey) {
23
+ return number === 1 ? wordKey[0] : (number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]);
24
+ },
25
+ translate: function (number, withoutSuffix, key) {
26
+ var wordKey = translator.words[key];
27
+ if (key.length === 1) {
28
+ return withoutSuffix ? wordKey[0] : wordKey[1];
29
+ } else {
30
+ return number + ' ' + translator.correctGrammaticalCase(number, wordKey);
31
+ }
32
+ }
33
+ };
34
+
35
+ var me = moment.defineLocale('me', {
36
+ months: ['januar', 'februar', 'mart', 'april', 'maj', 'jun', 'jul', 'avgust', 'septembar', 'oktobar', 'novembar', 'decembar'],
37
+ monthsShort: ['jan.', 'feb.', 'mar.', 'apr.', 'maj', 'jun', 'jul', 'avg.', 'sep.', 'okt.', 'nov.', 'dec.'],
38
+ weekdays: ['nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota'],
39
+ weekdaysShort: ['ned.', 'pon.', 'uto.', 'sri.', 'čet.', 'pet.', 'sub.'],
40
+ weekdaysMin: ['ne', 'po', 'ut', 'sr', 'če', 'pe', 'su'],
41
+ longDateFormat: {
42
+ LT: 'H:mm',
43
+ LTS : 'H:mm:ss',
44
+ L: 'DD. MM. YYYY',
45
+ LL: 'D. MMMM YYYY',
46
+ LLL: 'D. MMMM YYYY H:mm',
47
+ LLLL: 'dddd, D. MMMM YYYY H:mm'
48
+ },
49
+ calendar: {
50
+ sameDay: '[danas u] LT',
51
+ nextDay: '[sjutra u] LT',
52
+
53
+ nextWeek: function () {
54
+ switch (this.day()) {
55
+ case 0:
56
+ return '[u] [nedjelju] [u] LT';
57
+ case 3:
58
+ return '[u] [srijedu] [u] LT';
59
+ case 6:
60
+ return '[u] [subotu] [u] LT';
61
+ case 1:
62
+ case 2:
63
+ case 4:
64
+ case 5:
65
+ return '[u] dddd [u] LT';
66
+ }
67
+ },
68
+ lastDay : '[juče u] LT',
69
+ lastWeek : function () {
70
+ var lastWeekDays = [
71
+ '[prošle] [nedjelje] [u] LT',
72
+ '[prošlog] [ponedjeljka] [u] LT',
73
+ '[prošlog] [utorka] [u] LT',
74
+ '[prošle] [srijede] [u] LT',
75
+ '[prošlog] [četvrtka] [u] LT',
76
+ '[prošlog] [petka] [u] LT',
77
+ '[prošle] [subote] [u] LT'
78
+ ];
79
+ return lastWeekDays[this.day()];
80
+ },
81
+ sameElse : 'L'
82
+ },
83
+ relativeTime : {
84
+ future : 'za %s',
85
+ past : 'prije %s',
86
+ s : 'nekoliko sekundi',
87
+ m : translator.translate,
88
+ mm : translator.translate,
89
+ h : translator.translate,
90
+ hh : translator.translate,
91
+ d : 'dan',
92
+ dd : translator.translate,
93
+ M : 'mjesec',
94
+ MM : translator.translate,
95
+ y : 'godinu',
96
+ yy : translator.translate
97
+ },
98
+ ordinalParse: /\d{1,2}\./,
99
+ ordinal : '%d.',
100
+ week : {
101
+ dow : 1, // Monday is the first day of the week.
102
+ doy : 7 // The week that contains Jan 1st is the first week of the year.
103
+ }
104
+ });
105
+
106
+ return me;
107
+
108
+ }));
@@ -0,0 +1,89 @@
1
+ //! moment.js locale configuration
2
+ //! locale : macedonian (mk)
3
+ //! author : Borislav Mickov : https://github.com/B0k0
4
+
5
+ (function (global, factory) {
6
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
7
+ typeof define === 'function' && define.amd ? define(['moment'], factory) :
8
+ factory(global.moment)
9
+ }(this, function (moment) { 'use strict';
10
+
11
+
12
+ var mk = moment.defineLocale('mk', {
13
+ months : 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split('_'),
14
+ monthsShort : 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split('_'),
15
+ weekdays : 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split('_'),
16
+ weekdaysShort : 'нед_пон_вто_сре_чет_пет_саб'.split('_'),
17
+ weekdaysMin : 'нe_пo_вт_ср_че_пе_сa'.split('_'),
18
+ longDateFormat : {
19
+ LT : 'H:mm',
20
+ LTS : 'H:mm:ss',
21
+ L : 'D.MM.YYYY',
22
+ LL : 'D MMMM YYYY',
23
+ LLL : 'D MMMM YYYY H:mm',
24
+ LLLL : 'dddd, D MMMM YYYY H:mm'
25
+ },
26
+ calendar : {
27
+ sameDay : '[Денес во] LT',
28
+ nextDay : '[Утре во] LT',
29
+ nextWeek : 'dddd [во] LT',
30
+ lastDay : '[Вчера во] LT',
31
+ lastWeek : function () {
32
+ switch (this.day()) {
33
+ case 0:
34
+ case 3:
35
+ case 6:
36
+ return '[Во изминатата] dddd [во] LT';
37
+ case 1:
38
+ case 2:
39
+ case 4:
40
+ case 5:
41
+ return '[Во изминатиот] dddd [во] LT';
42
+ }
43
+ },
44
+ sameElse : 'L'
45
+ },
46
+ relativeTime : {
47
+ future : 'после %s',
48
+ past : 'пред %s',
49
+ s : 'неколку секунди',
50
+ m : 'минута',
51
+ mm : '%d минути',
52
+ h : 'час',
53
+ hh : '%d часа',
54
+ d : 'ден',
55
+ dd : '%d дена',
56
+ M : 'месец',
57
+ MM : '%d месеци',
58
+ y : 'година',
59
+ yy : '%d години'
60
+ },
61
+ ordinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
62
+ ordinal : function (number) {
63
+ var lastDigit = number % 10,
64
+ last2Digits = number % 100;
65
+ if (number === 0) {
66
+ return number + '-ев';
67
+ } else if (last2Digits === 0) {
68
+ return number + '-ен';
69
+ } else if (last2Digits > 10 && last2Digits < 20) {
70
+ return number + '-ти';
71
+ } else if (lastDigit === 1) {
72
+ return number + '-ви';
73
+ } else if (lastDigit === 2) {
74
+ return number + '-ри';
75
+ } else if (lastDigit === 7 || lastDigit === 8) {
76
+ return number + '-ми';
77
+ } else {
78
+ return number + '-ти';
79
+ }
80
+ },
81
+ week : {
82
+ dow : 1, // Monday is the first day of the week.
83
+ doy : 7 // The week that contains Jan 1st is the first week of the year.
84
+ }
85
+ });
86
+
87
+ return mk;
88
+
89
+ }));
@@ -0,0 +1,70 @@
1
+ //! moment.js locale configuration
2
+ //! locale : malayalam (ml)
3
+ //! author : Floyd Pink : https://github.com/floydpink
4
+
5
+ (function (global, factory) {
6
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
7
+ typeof define === 'function' && define.amd ? define(['moment'], factory) :
8
+ factory(global.moment)
9
+ }(this, function (moment) { 'use strict';
10
+
11
+
12
+ var ml = moment.defineLocale('ml', {
13
+ months : 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split('_'),
14
+ monthsShort : 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split('_'),
15
+ weekdays : 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split('_'),
16
+ weekdaysShort : 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'),
17
+ weekdaysMin : 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'),
18
+ longDateFormat : {
19
+ LT : 'A h:mm -നു',
20
+ LTS : 'A h:mm:ss -നു',
21
+ L : 'DD/MM/YYYY',
22
+ LL : 'D MMMM YYYY',
23
+ LLL : 'D MMMM YYYY, A h:mm -നു',
24
+ LLLL : 'dddd, D MMMM YYYY, A h:mm -നു'
25
+ },
26
+ calendar : {
27
+ sameDay : '[ഇന്ന്] LT',
28
+ nextDay : '[നാളെ] LT',
29
+ nextWeek : 'dddd, LT',
30
+ lastDay : '[ഇന്നലെ] LT',
31
+ lastWeek : '[കഴിഞ്ഞ] dddd, LT',
32
+ sameElse : 'L'
33
+ },
34
+ relativeTime : {
35
+ future : '%s കഴിഞ്ഞ്',
36
+ past : '%s മുൻപ്',
37
+ s : 'അൽപ നിമിഷങ്ങൾ',
38
+ m : 'ഒരു മിനിറ്റ്',
39
+ mm : '%d മിനിറ്റ്',
40
+ h : 'ഒരു മണിക്കൂർ',
41
+ hh : '%d മണിക്കൂർ',
42
+ d : 'ഒരു ദിവസം',
43
+ dd : '%d ദിവസം',
44
+ M : 'ഒരു മാസം',
45
+ MM : '%d മാസം',
46
+ y : 'ഒരു വർഷം',
47
+ yy : '%d വർഷം'
48
+ },
49
+ meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,
50
+ isPM : function (input) {
51
+ return /^(ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി)$/.test(input);
52
+ },
53
+ meridiem : function (hour, minute, isLower) {
54
+ if (hour < 4) {
55
+ return 'രാത്രി';
56
+ } else if (hour < 12) {
57
+ return 'രാവിലെ';
58
+ } else if (hour < 17) {
59
+ return 'ഉച്ച കഴിഞ്ഞ്';
60
+ } else if (hour < 20) {
61
+ return 'വൈകുന്നേരം';
62
+ } else {
63
+ return 'രാത്രി';
64
+ }
65
+ }
66
+ });
67
+
68
+ return ml;
69
+
70
+ }));
@@ -0,0 +1,120 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Marathi (mr)
3
+ //! author : Harshad Kale : https://github.com/kalehv
4
+
5
+ (function (global, factory) {
6
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
7
+ typeof define === 'function' && define.amd ? define(['moment'], factory) :
8
+ factory(global.moment)
9
+ }(this, function (moment) { 'use strict';
10
+
11
+
12
+ var symbolMap = {
13
+ '1': '१',
14
+ '2': '२',
15
+ '3': '३',
16
+ '4': '४',
17
+ '5': '५',
18
+ '6': '६',
19
+ '7': '७',
20
+ '8': '८',
21
+ '9': '९',
22
+ '0': '०'
23
+ },
24
+ numberMap = {
25
+ '१': '1',
26
+ '२': '2',
27
+ '३': '3',
28
+ '४': '4',
29
+ '५': '5',
30
+ '६': '6',
31
+ '७': '7',
32
+ '८': '8',
33
+ '९': '9',
34
+ '०': '0'
35
+ };
36
+
37
+ var mr = moment.defineLocale('mr', {
38
+ months : 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split('_'),
39
+ monthsShort: 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split('_'),
40
+ weekdays : 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),
41
+ weekdaysShort : 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'),
42
+ weekdaysMin : 'र_सो_मं_बु_गु_शु_श'.split('_'),
43
+ longDateFormat : {
44
+ LT : 'A h:mm वाजता',
45
+ LTS : 'A h:mm:ss वाजता',
46
+ L : 'DD/MM/YYYY',
47
+ LL : 'D MMMM YYYY',
48
+ LLL : 'D MMMM YYYY, A h:mm वाजता',
49
+ LLLL : 'dddd, D MMMM YYYY, A h:mm वाजता'
50
+ },
51
+ calendar : {
52
+ sameDay : '[आज] LT',
53
+ nextDay : '[उद्या] LT',
54
+ nextWeek : 'dddd, LT',
55
+ lastDay : '[काल] LT',
56
+ lastWeek: '[मागील] dddd, LT',
57
+ sameElse : 'L'
58
+ },
59
+ relativeTime : {
60
+ future : '%s नंतर',
61
+ past : '%s पूर्वी',
62
+ s : 'सेकंद',
63
+ m: 'एक मिनिट',
64
+ mm: '%d मिनिटे',
65
+ h : 'एक तास',
66
+ hh : '%d तास',
67
+ d : 'एक दिवस',
68
+ dd : '%d दिवस',
69
+ M : 'एक महिना',
70
+ MM : '%d महिने',
71
+ y : 'एक वर्ष',
72
+ yy : '%d वर्षे'
73
+ },
74
+ preparse: function (string) {
75
+ return string.replace(/[१२३४५६७८९०]/g, function (match) {
76
+ return numberMap[match];
77
+ });
78
+ },
79
+ postformat: function (string) {
80
+ return string.replace(/\d/g, function (match) {
81
+ return symbolMap[match];
82
+ });
83
+ },
84
+ meridiemParse: /रात्री|सकाळी|दुपारी|सायंकाळी/,
85
+ meridiemHour : function (hour, meridiem) {
86
+ if (hour === 12) {
87
+ hour = 0;
88
+ }
89
+ if (meridiem === 'रात्री') {
90
+ return hour < 4 ? hour : hour + 12;
91
+ } else if (meridiem === 'सकाळी') {
92
+ return hour;
93
+ } else if (meridiem === 'दुपारी') {
94
+ return hour >= 10 ? hour : hour + 12;
95
+ } else if (meridiem === 'सायंकाळी') {
96
+ return hour + 12;
97
+ }
98
+ },
99
+ meridiem: function (hour, minute, isLower) {
100
+ if (hour < 4) {
101
+ return 'रात्री';
102
+ } else if (hour < 10) {
103
+ return 'सकाळी';
104
+ } else if (hour < 17) {
105
+ return 'दुपारी';
106
+ } else if (hour < 20) {
107
+ return 'सायंकाळी';
108
+ } else {
109
+ return 'रात्री';
110
+ }
111
+ },
112
+ week : {
113
+ dow : 0, // Sunday is the first day of the week.
114
+ doy : 6 // The week that contains Jan 1st is the first week of the year.
115
+ }
116
+ });
117
+
118
+ return mr;
119
+
120
+ }));
@@ -0,0 +1,81 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Bahasa Malaysia (ms-MY)
3
+ //! author : Weldan Jamili : https://github.com/weldan
4
+
5
+ (function (global, factory) {
6
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
7
+ typeof define === 'function' && define.amd ? define(['moment'], factory) :
8
+ factory(global.moment)
9
+ }(this, function (moment) { 'use strict';
10
+
11
+
12
+ var ms_my = moment.defineLocale('ms-my', {
13
+ months : 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'),
14
+ monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
15
+ weekdays : 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
16
+ weekdaysShort : 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
17
+ weekdaysMin : 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
18
+ longDateFormat : {
19
+ LT : 'HH.mm',
20
+ LTS : 'HH.mm.ss',
21
+ L : 'DD/MM/YYYY',
22
+ LL : 'D MMMM YYYY',
23
+ LLL : 'D MMMM YYYY [pukul] HH.mm',
24
+ LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm'
25
+ },
26
+ meridiemParse: /pagi|tengahari|petang|malam/,
27
+ meridiemHour: function (hour, meridiem) {
28
+ if (hour === 12) {
29
+ hour = 0;
30
+ }
31
+ if (meridiem === 'pagi') {
32
+ return hour;
33
+ } else if (meridiem === 'tengahari') {
34
+ return hour >= 11 ? hour : hour + 12;
35
+ } else if (meridiem === 'petang' || meridiem === 'malam') {
36
+ return hour + 12;
37
+ }
38
+ },
39
+ meridiem : function (hours, minutes, isLower) {
40
+ if (hours < 11) {
41
+ return 'pagi';
42
+ } else if (hours < 15) {
43
+ return 'tengahari';
44
+ } else if (hours < 19) {
45
+ return 'petang';
46
+ } else {
47
+ return 'malam';
48
+ }
49
+ },
50
+ calendar : {
51
+ sameDay : '[Hari ini pukul] LT',
52
+ nextDay : '[Esok pukul] LT',
53
+ nextWeek : 'dddd [pukul] LT',
54
+ lastDay : '[Kelmarin pukul] LT',
55
+ lastWeek : 'dddd [lepas pukul] LT',
56
+ sameElse : 'L'
57
+ },
58
+ relativeTime : {
59
+ future : 'dalam %s',
60
+ past : '%s yang lepas',
61
+ s : 'beberapa saat',
62
+ m : 'seminit',
63
+ mm : '%d minit',
64
+ h : 'sejam',
65
+ hh : '%d jam',
66
+ d : 'sehari',
67
+ dd : '%d hari',
68
+ M : 'sebulan',
69
+ MM : '%d bulan',
70
+ y : 'setahun',
71
+ yy : '%d tahun'
72
+ },
73
+ week : {
74
+ dow : 1, // Monday is the first day of the week.
75
+ doy : 7 // The week that contains Jan 1st is the first week of the year.
76
+ }
77
+ });
78
+
79
+ return ms_my;
80
+
81
+ }));
@@ -0,0 +1,81 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Bahasa Malaysia (ms-MY)
3
+ //! author : Weldan Jamili : https://github.com/weldan
4
+
5
+ (function (global, factory) {
6
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
7
+ typeof define === 'function' && define.amd ? define(['moment'], factory) :
8
+ factory(global.moment)
9
+ }(this, function (moment) { 'use strict';
10
+
11
+
12
+ var ms = moment.defineLocale('ms', {
13
+ months : 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'),
14
+ monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
15
+ weekdays : 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
16
+ weekdaysShort : 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
17
+ weekdaysMin : 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
18
+ longDateFormat : {
19
+ LT : 'HH.mm',
20
+ LTS : 'HH.mm.ss',
21
+ L : 'DD/MM/YYYY',
22
+ LL : 'D MMMM YYYY',
23
+ LLL : 'D MMMM YYYY [pukul] HH.mm',
24
+ LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm'
25
+ },
26
+ meridiemParse: /pagi|tengahari|petang|malam/,
27
+ meridiemHour: function (hour, meridiem) {
28
+ if (hour === 12) {
29
+ hour = 0;
30
+ }
31
+ if (meridiem === 'pagi') {
32
+ return hour;
33
+ } else if (meridiem === 'tengahari') {
34
+ return hour >= 11 ? hour : hour + 12;
35
+ } else if (meridiem === 'petang' || meridiem === 'malam') {
36
+ return hour + 12;
37
+ }
38
+ },
39
+ meridiem : function (hours, minutes, isLower) {
40
+ if (hours < 11) {
41
+ return 'pagi';
42
+ } else if (hours < 15) {
43
+ return 'tengahari';
44
+ } else if (hours < 19) {
45
+ return 'petang';
46
+ } else {
47
+ return 'malam';
48
+ }
49
+ },
50
+ calendar : {
51
+ sameDay : '[Hari ini pukul] LT',
52
+ nextDay : '[Esok pukul] LT',
53
+ nextWeek : 'dddd [pukul] LT',
54
+ lastDay : '[Kelmarin pukul] LT',
55
+ lastWeek : 'dddd [lepas pukul] LT',
56
+ sameElse : 'L'
57
+ },
58
+ relativeTime : {
59
+ future : 'dalam %s',
60
+ past : '%s yang lepas',
61
+ s : 'beberapa saat',
62
+ m : 'seminit',
63
+ mm : '%d minit',
64
+ h : 'sejam',
65
+ hh : '%d jam',
66
+ d : 'sehari',
67
+ dd : '%d hari',
68
+ M : 'sebulan',
69
+ MM : '%d bulan',
70
+ y : 'setahun',
71
+ yy : '%d tahun'
72
+ },
73
+ week : {
74
+ dow : 1, // Monday is the first day of the week.
75
+ doy : 7 // The week that contains Jan 1st is the first week of the year.
76
+ }
77
+ });
78
+
79
+ return ms;
80
+
81
+ }));
@@ -0,0 +1,92 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Burmese (my)
3
+ //! author : Squar team, mysquar.com
4
+
5
+ (function (global, factory) {
6
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
7
+ typeof define === 'function' && define.amd ? define(['moment'], factory) :
8
+ factory(global.moment)
9
+ }(this, function (moment) { 'use strict';
10
+
11
+
12
+ var symbolMap = {
13
+ '1': '၁',
14
+ '2': '၂',
15
+ '3': '၃',
16
+ '4': '၄',
17
+ '5': '၅',
18
+ '6': '၆',
19
+ '7': '၇',
20
+ '8': '၈',
21
+ '9': '၉',
22
+ '0': '၀'
23
+ }, numberMap = {
24
+ '၁': '1',
25
+ '၂': '2',
26
+ '၃': '3',
27
+ '၄': '4',
28
+ '၅': '5',
29
+ '၆': '6',
30
+ '၇': '7',
31
+ '၈': '8',
32
+ '၉': '9',
33
+ '၀': '0'
34
+ };
35
+
36
+ var my = moment.defineLocale('my', {
37
+ months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split('_'),
38
+ monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'),
39
+ weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split('_'),
40
+ weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
41
+ weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
42
+
43
+ longDateFormat: {
44
+ LT: 'HH:mm',
45
+ LTS: 'HH:mm:ss',
46
+ L: 'DD/MM/YYYY',
47
+ LL: 'D MMMM YYYY',
48
+ LLL: 'D MMMM YYYY HH:mm',
49
+ LLLL: 'dddd D MMMM YYYY HH:mm'
50
+ },
51
+ calendar: {
52
+ sameDay: '[ယနေ.] LT [မှာ]',
53
+ nextDay: '[မနက်ဖြန်] LT [မှာ]',
54
+ nextWeek: 'dddd LT [မှာ]',
55
+ lastDay: '[မနေ.က] LT [မှာ]',
56
+ lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]',
57
+ sameElse: 'L'
58
+ },
59
+ relativeTime: {
60
+ future: 'လာမည့် %s မှာ',
61
+ past: 'လွန်ခဲ့သော %s က',
62
+ s: 'စက္ကန်.အနည်းငယ်',
63
+ m: 'တစ်မိနစ်',
64
+ mm: '%d မိနစ်',
65
+ h: 'တစ်နာရီ',
66
+ hh: '%d နာရီ',
67
+ d: 'တစ်ရက်',
68
+ dd: '%d ရက်',
69
+ M: 'တစ်လ',
70
+ MM: '%d လ',
71
+ y: 'တစ်နှစ်',
72
+ yy: '%d နှစ်'
73
+ },
74
+ preparse: function (string) {
75
+ return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) {
76
+ return numberMap[match];
77
+ });
78
+ },
79
+ postformat: function (string) {
80
+ return string.replace(/\d/g, function (match) {
81
+ return symbolMap[match];
82
+ });
83
+ },
84
+ week: {
85
+ dow: 1, // Monday is the first day of the week.
86
+ doy: 4 // The week that contains Jan 1st is the first week of the year.
87
+ }
88
+ });
89
+
90
+ return my;
91
+
92
+ }));