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,59 @@
1
+ //! moment.js locale configuration
2
+ //! locale : faroese (fo)
3
+ //! author : Ragnar Johannesen : https://github.com/ragnar123
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 fo = moment.defineLocale('fo', {
13
+ months : 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
14
+ monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
15
+ weekdays : 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split('_'),
16
+ weekdaysShort : 'sun_mán_týs_mik_hós_frí_ley'.split('_'),
17
+ weekdaysMin : 'su_má_tý_mi_hó_fr_le'.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 HH:mm',
24
+ LLLL : 'dddd D. MMMM, YYYY HH:mm'
25
+ },
26
+ calendar : {
27
+ sameDay : '[Í dag kl.] LT',
28
+ nextDay : '[Í morgin kl.] LT',
29
+ nextWeek : 'dddd [kl.] LT',
30
+ lastDay : '[Í gjár kl.] LT',
31
+ lastWeek : '[síðstu] dddd [kl] LT',
32
+ sameElse : 'L'
33
+ },
34
+ relativeTime : {
35
+ future : 'um %s',
36
+ past : '%s síðani',
37
+ s : 'fá sekund',
38
+ m : 'ein minutt',
39
+ mm : '%d minuttir',
40
+ h : 'ein tími',
41
+ hh : '%d tímar',
42
+ d : 'ein dagur',
43
+ dd : '%d dagar',
44
+ M : 'ein mánaði',
45
+ MM : '%d mánaðir',
46
+ y : 'eitt ár',
47
+ yy : '%d ár'
48
+ },
49
+ ordinalParse: /\d{1,2}\./,
50
+ ordinal : '%d.',
51
+ week : {
52
+ dow : 1, // Monday is the first day of the week.
53
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
54
+ }
55
+ });
56
+
57
+ return fo;
58
+
59
+ }));
@@ -0,0 +1,57 @@
1
+ //! moment.js locale configuration
2
+ //! locale : canadian french (fr-ca)
3
+ //! author : Jonathan Abourbih : https://github.com/jonbca
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 fr_ca = moment.defineLocale('fr-ca', {
13
+ months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'),
14
+ monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'),
15
+ weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
16
+ weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
17
+ weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'),
18
+ longDateFormat : {
19
+ LT : 'HH:mm',
20
+ LTS : 'HH:mm:ss',
21
+ L : 'YYYY-MM-DD',
22
+ LL : 'D MMMM YYYY',
23
+ LLL : 'D MMMM YYYY HH:mm',
24
+ LLLL : 'dddd D MMMM YYYY HH:mm'
25
+ },
26
+ calendar : {
27
+ sameDay: '[Aujourd\'hui à] LT',
28
+ nextDay: '[Demain à] LT',
29
+ nextWeek: 'dddd [à] LT',
30
+ lastDay: '[Hier à] LT',
31
+ lastWeek: 'dddd [dernier à] LT',
32
+ sameElse: 'L'
33
+ },
34
+ relativeTime : {
35
+ future : 'dans %s',
36
+ past : 'il y a %s',
37
+ s : 'quelques secondes',
38
+ m : 'une minute',
39
+ mm : '%d minutes',
40
+ h : 'une heure',
41
+ hh : '%d heures',
42
+ d : 'un jour',
43
+ dd : '%d jours',
44
+ M : 'un mois',
45
+ MM : '%d mois',
46
+ y : 'un an',
47
+ yy : '%d ans'
48
+ },
49
+ ordinalParse: /\d{1,2}(er|e)/,
50
+ ordinal : function (number) {
51
+ return number + (number === 1 ? 'er' : 'e');
52
+ }
53
+ });
54
+
55
+ return fr_ca;
56
+
57
+ }));
@@ -0,0 +1,61 @@
1
+ //! moment.js locale configuration
2
+ //! locale : french (fr)
3
+ //! author : John Fischer : https://github.com/jfroffice
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 fr = moment.defineLocale('fr', {
13
+ months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'),
14
+ monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'),
15
+ weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
16
+ weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
17
+ weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.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 HH:mm',
24
+ LLLL : 'dddd D MMMM YYYY HH:mm'
25
+ },
26
+ calendar : {
27
+ sameDay: '[Aujourd\'hui à] LT',
28
+ nextDay: '[Demain à] LT',
29
+ nextWeek: 'dddd [à] LT',
30
+ lastDay: '[Hier à] LT',
31
+ lastWeek: 'dddd [dernier à] LT',
32
+ sameElse: 'L'
33
+ },
34
+ relativeTime : {
35
+ future : 'dans %s',
36
+ past : 'il y a %s',
37
+ s : 'quelques secondes',
38
+ m : 'une minute',
39
+ mm : '%d minutes',
40
+ h : 'une heure',
41
+ hh : '%d heures',
42
+ d : 'un jour',
43
+ dd : '%d jours',
44
+ M : 'un mois',
45
+ MM : '%d mois',
46
+ y : 'un an',
47
+ yy : '%d ans'
48
+ },
49
+ ordinalParse: /\d{1,2}(er|)/,
50
+ ordinal : function (number) {
51
+ return number + (number === 1 ? 'er' : '');
52
+ },
53
+ week : {
54
+ dow : 1, // Monday is the first day of the week.
55
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
56
+ }
57
+ });
58
+
59
+ return fr;
60
+
61
+ }));
@@ -0,0 +1,70 @@
1
+ //! moment.js locale configuration
2
+ //! locale : frisian (fy)
3
+ //! author : Robin van der Vliet : https://github.com/robin0van0der0v
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 monthsShortWithDots = 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'),
13
+ monthsShortWithoutDots = 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_');
14
+
15
+ var fy = moment.defineLocale('fy', {
16
+ months : 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split('_'),
17
+ monthsShort : function (m, format) {
18
+ if (/-MMM-/.test(format)) {
19
+ return monthsShortWithoutDots[m.month()];
20
+ } else {
21
+ return monthsShortWithDots[m.month()];
22
+ }
23
+ },
24
+ weekdays : 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split('_'),
25
+ weekdaysShort : 'si._mo._ti._wo._to._fr._so.'.split('_'),
26
+ weekdaysMin : 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'),
27
+ longDateFormat : {
28
+ LT : 'HH:mm',
29
+ LTS : 'HH:mm:ss',
30
+ L : 'DD-MM-YYYY',
31
+ LL : 'D MMMM YYYY',
32
+ LLL : 'D MMMM YYYY HH:mm',
33
+ LLLL : 'dddd D MMMM YYYY HH:mm'
34
+ },
35
+ calendar : {
36
+ sameDay: '[hjoed om] LT',
37
+ nextDay: '[moarn om] LT',
38
+ nextWeek: 'dddd [om] LT',
39
+ lastDay: '[juster om] LT',
40
+ lastWeek: '[ôfrûne] dddd [om] LT',
41
+ sameElse: 'L'
42
+ },
43
+ relativeTime : {
44
+ future : 'oer %s',
45
+ past : '%s lyn',
46
+ s : 'in pear sekonden',
47
+ m : 'ien minút',
48
+ mm : '%d minuten',
49
+ h : 'ien oere',
50
+ hh : '%d oeren',
51
+ d : 'ien dei',
52
+ dd : '%d dagen',
53
+ M : 'ien moanne',
54
+ MM : '%d moannen',
55
+ y : 'ien jier',
56
+ yy : '%d jierren'
57
+ },
58
+ ordinalParse: /\d{1,2}(ste|de)/,
59
+ ordinal : function (number) {
60
+ return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
61
+ },
62
+ week : {
63
+ dow : 1, // Monday is the first day of the week.
64
+ doy : 4 // The week that contains Jan 4th is the first week of the year.
65
+ }
66
+ });
67
+
68
+ return fy;
69
+
70
+ }));
@@ -0,0 +1,74 @@
1
+ //! moment.js locale configuration
2
+ //! locale : galician (gl)
3
+ //! author : Juan G. Hurtado : https://github.com/juanghurtado
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 gl = moment.defineLocale('gl', {
13
+ months : 'Xaneiro_Febreiro_Marzo_Abril_Maio_Xuño_Xullo_Agosto_Setembro_Outubro_Novembro_Decembro'.split('_'),
14
+ monthsShort : 'Xan._Feb._Mar._Abr._Mai._Xuñ._Xul._Ago._Set._Out._Nov._Dec.'.split('_'),
15
+ weekdays : 'Domingo_Luns_Martes_Mércores_Xoves_Venres_Sábado'.split('_'),
16
+ weekdaysShort : 'Dom._Lun._Mar._Mér._Xov._Ven._Sáb.'.split('_'),
17
+ weekdaysMin : 'Do_Lu_Ma_Mé_Xo_Ve_Sá'.split('_'),
18
+ longDateFormat : {
19
+ LT : 'H:mm',
20
+ LTS : 'H:mm:ss',
21
+ L : 'DD/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 : function () {
28
+ return '[hoxe ' + ((this.hours() !== 1) ? 'ás' : 'á') + '] LT';
29
+ },
30
+ nextDay : function () {
31
+ return '[mañá ' + ((this.hours() !== 1) ? 'ás' : 'á') + '] LT';
32
+ },
33
+ nextWeek : function () {
34
+ return 'dddd [' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT';
35
+ },
36
+ lastDay : function () {
37
+ return '[onte ' + ((this.hours() !== 1) ? 'á' : 'a') + '] LT';
38
+ },
39
+ lastWeek : function () {
40
+ return '[o] dddd [pasado ' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT';
41
+ },
42
+ sameElse : 'L'
43
+ },
44
+ relativeTime : {
45
+ future : function (str) {
46
+ if (str === 'uns segundos') {
47
+ return 'nuns segundos';
48
+ }
49
+ return 'en ' + str;
50
+ },
51
+ past : 'hai %s',
52
+ s : 'uns segundos',
53
+ m : 'un minuto',
54
+ mm : '%d minutos',
55
+ h : 'unha hora',
56
+ hh : '%d horas',
57
+ d : 'un día',
58
+ dd : '%d días',
59
+ M : 'un mes',
60
+ MM : '%d meses',
61
+ y : 'un ano',
62
+ yy : '%d anos'
63
+ },
64
+ ordinalParse : /\d{1,2}º/,
65
+ ordinal : '%dº',
66
+ week : {
67
+ dow : 1, // Monday is the first day of the week.
68
+ doy : 7 // The week that contains Jan 1st is the first week of the year.
69
+ }
70
+ });
71
+
72
+ return gl;
73
+
74
+ }));
@@ -0,0 +1,81 @@
1
+ //! moment.js locale configuration
2
+ //! locale : Hebrew (he)
3
+ //! author : Tomer Cohen : https://github.com/tomer
4
+ //! author : Moshe Simantov : https://github.com/DevelopmentIL
5
+ //! author : Tal Ater : https://github.com/TalAter
6
+
7
+ (function (global, factory) {
8
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
9
+ typeof define === 'function' && define.amd ? define(['moment'], factory) :
10
+ factory(global.moment)
11
+ }(this, function (moment) { 'use strict';
12
+
13
+
14
+ var he = moment.defineLocale('he', {
15
+ months : 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split('_'),
16
+ monthsShort : 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split('_'),
17
+ weekdays : 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'),
18
+ weekdaysShort : 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'),
19
+ weekdaysMin : 'א_ב_ג_ד_ה_ו_ש'.split('_'),
20
+ longDateFormat : {
21
+ LT : 'HH:mm',
22
+ LTS : 'HH:mm:ss',
23
+ L : 'DD/MM/YYYY',
24
+ LL : 'D [ב]MMMM YYYY',
25
+ LLL : 'D [ב]MMMM YYYY HH:mm',
26
+ LLLL : 'dddd, D [ב]MMMM YYYY HH:mm',
27
+ l : 'D/M/YYYY',
28
+ ll : 'D MMM YYYY',
29
+ lll : 'D MMM YYYY HH:mm',
30
+ llll : 'ddd, D MMM YYYY HH:mm'
31
+ },
32
+ calendar : {
33
+ sameDay : '[היום ב־]LT',
34
+ nextDay : '[מחר ב־]LT',
35
+ nextWeek : 'dddd [בשעה] LT',
36
+ lastDay : '[אתמול ב־]LT',
37
+ lastWeek : '[ביום] dddd [האחרון בשעה] LT',
38
+ sameElse : 'L'
39
+ },
40
+ relativeTime : {
41
+ future : 'בעוד %s',
42
+ past : 'לפני %s',
43
+ s : 'מספר שניות',
44
+ m : 'דקה',
45
+ mm : '%d דקות',
46
+ h : 'שעה',
47
+ hh : function (number) {
48
+ if (number === 2) {
49
+ return 'שעתיים';
50
+ }
51
+ return number + ' שעות';
52
+ },
53
+ d : 'יום',
54
+ dd : function (number) {
55
+ if (number === 2) {
56
+ return 'יומיים';
57
+ }
58
+ return number + ' ימים';
59
+ },
60
+ M : 'חודש',
61
+ MM : function (number) {
62
+ if (number === 2) {
63
+ return 'חודשיים';
64
+ }
65
+ return number + ' חודשים';
66
+ },
67
+ y : 'שנה',
68
+ yy : function (number) {
69
+ if (number === 2) {
70
+ return 'שנתיים';
71
+ } else if (number % 10 === 0 && number !== 10) {
72
+ return number + ' שנה';
73
+ }
74
+ return number + ' שנים';
75
+ }
76
+ }
77
+ });
78
+
79
+ return he;
80
+
81
+ }));
@@ -0,0 +1,122 @@
1
+ //! moment.js locale configuration
2
+ //! locale : hindi (hi)
3
+ //! author : Mayank Singhal : https://github.com/mayanksinghal
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 hi = moment.defineLocale('hi', {
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
+ // Hindi notation for meridiems are quite fuzzy in practice. While there exists
85
+ // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi.
86
+ meridiemParse: /रात|सुबह|दोपहर|शाम/,
87
+ meridiemHour : function (hour, meridiem) {
88
+ if (hour === 12) {
89
+ hour = 0;
90
+ }
91
+ if (meridiem === 'रात') {
92
+ return hour < 4 ? hour : hour + 12;
93
+ } else if (meridiem === 'सुबह') {
94
+ return hour;
95
+ } else if (meridiem === 'दोपहर') {
96
+ return hour >= 10 ? hour : hour + 12;
97
+ } else if (meridiem === 'शाम') {
98
+ return hour + 12;
99
+ }
100
+ },
101
+ meridiem : function (hour, minute, isLower) {
102
+ if (hour < 4) {
103
+ return 'रात';
104
+ } else if (hour < 10) {
105
+ return 'सुबह';
106
+ } else if (hour < 17) {
107
+ return 'दोपहर';
108
+ } else if (hour < 20) {
109
+ return 'शाम';
110
+ } else {
111
+ return 'रात';
112
+ }
113
+ },
114
+ week : {
115
+ dow : 0, // Sunday is the first day of the week.
116
+ doy : 6 // The week that contains Jan 1st is the first week of the year.
117
+ }
118
+ });
119
+
120
+ return hi;
121
+
122
+ }));
@@ -0,0 +1,139 @@
1
+ //! moment.js locale configuration
2
+ //! locale : hrvatski (hr)
3
+ //! author : Bojan Marković : https://github.com/bmarkovic
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
+ function translate(number, withoutSuffix, key) {
13
+ var result = number + ' ';
14
+ switch (key) {
15
+ case 'm':
16
+ return withoutSuffix ? 'jedna minuta' : 'jedne minute';
17
+ case 'mm':
18
+ if (number === 1) {
19
+ result += 'minuta';
20
+ } else if (number === 2 || number === 3 || number === 4) {
21
+ result += 'minute';
22
+ } else {
23
+ result += 'minuta';
24
+ }
25
+ return result;
26
+ case 'h':
27
+ return withoutSuffix ? 'jedan sat' : 'jednog sata';
28
+ case 'hh':
29
+ if (number === 1) {
30
+ result += 'sat';
31
+ } else if (number === 2 || number === 3 || number === 4) {
32
+ result += 'sata';
33
+ } else {
34
+ result += 'sati';
35
+ }
36
+ return result;
37
+ case 'dd':
38
+ if (number === 1) {
39
+ result += 'dan';
40
+ } else {
41
+ result += 'dana';
42
+ }
43
+ return result;
44
+ case 'MM':
45
+ if (number === 1) {
46
+ result += 'mjesec';
47
+ } else if (number === 2 || number === 3 || number === 4) {
48
+ result += 'mjeseca';
49
+ } else {
50
+ result += 'mjeseci';
51
+ }
52
+ return result;
53
+ case 'yy':
54
+ if (number === 1) {
55
+ result += 'godina';
56
+ } else if (number === 2 || number === 3 || number === 4) {
57
+ result += 'godine';
58
+ } else {
59
+ result += 'godina';
60
+ }
61
+ return result;
62
+ }
63
+ }
64
+
65
+ var hr = moment.defineLocale('hr', {
66
+ months : 'siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split('_'),
67
+ monthsShort : 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split('_'),
68
+ weekdays : 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'),
69
+ weekdaysShort : 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
70
+ weekdaysMin : 'ne_po_ut_sr_če_pe_su'.split('_'),
71
+ longDateFormat : {
72
+ LT : 'H:mm',
73
+ LTS : 'H:mm:ss',
74
+ L : 'DD. MM. YYYY',
75
+ LL : 'D. MMMM YYYY',
76
+ LLL : 'D. MMMM YYYY H:mm',
77
+ LLLL : 'dddd, D. MMMM YYYY H:mm'
78
+ },
79
+ calendar : {
80
+ sameDay : '[danas u] LT',
81
+ nextDay : '[sutra u] LT',
82
+ nextWeek : function () {
83
+ switch (this.day()) {
84
+ case 0:
85
+ return '[u] [nedjelju] [u] LT';
86
+ case 3:
87
+ return '[u] [srijedu] [u] LT';
88
+ case 6:
89
+ return '[u] [subotu] [u] LT';
90
+ case 1:
91
+ case 2:
92
+ case 4:
93
+ case 5:
94
+ return '[u] dddd [u] LT';
95
+ }
96
+ },
97
+ lastDay : '[jučer u] LT',
98
+ lastWeek : function () {
99
+ switch (this.day()) {
100
+ case 0:
101
+ case 3:
102
+ return '[prošlu] dddd [u] LT';
103
+ case 6:
104
+ return '[prošle] [subote] [u] LT';
105
+ case 1:
106
+ case 2:
107
+ case 4:
108
+ case 5:
109
+ return '[prošli] dddd [u] LT';
110
+ }
111
+ },
112
+ sameElse : 'L'
113
+ },
114
+ relativeTime : {
115
+ future : 'za %s',
116
+ past : 'prije %s',
117
+ s : 'par sekundi',
118
+ m : translate,
119
+ mm : translate,
120
+ h : translate,
121
+ hh : translate,
122
+ d : 'dan',
123
+ dd : translate,
124
+ M : 'mjesec',
125
+ MM : translate,
126
+ y : 'godinu',
127
+ yy : translate
128
+ },
129
+ ordinalParse: /\d{1,2}\./,
130
+ ordinal : '%d.',
131
+ week : {
132
+ dow : 1, // Monday is the first day of the week.
133
+ doy : 7 // The week that contains Jan 1st is the first week of the year.
134
+ }
135
+ });
136
+
137
+ return hr;
138
+
139
+ }));