vendor/assets/javascripts/flatpickr/l10n/sl.js in flatpickr-4.5.2.0 vs vendor/assets/javascripts/flatpickr/l10n/sl.js in flatpickr-4.5.2.1

- old
+ new

@@ -3,62 +3,26 @@ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (factory((global.sl = {}))); }(this, (function (exports) { 'use strict'; - const fp = typeof window !== "undefined" && window.flatpickr !== undefined - ? window.flatpickr - : { - l10ns: {}, - }; - const Slovenian = { - weekdays: { - shorthand: ["Ned", "Pon", "Tor", "Sre", "Čet", "Pet", "Sob"], - longhand: [ - "Nedelja", - "Ponedeljek", - "Torek", - "Sreda", - "Četrtek", - "Petek", - "Sobota", - ], - }, - months: { - shorthand: [ - "Jan", - "Feb", - "Mar", - "Apr", - "Maj", - "Jun", - "Jul", - "Avg", - "Sep", - "Okt", - "Nov", - "Dec", - ], - longhand: [ - "Januar", - "Februar", - "Marec", - "April", - "Maj", - "Junij", - "Julij", - "Avgust", - "September", - "Oktober", - "November", - "December", - ], - }, - firstDayOfWeek: 1, - rangeSeparator: " do ", - ordinal: function () { - return "."; - }, + var fp = typeof window !== "undefined" && window.flatpickr !== undefined ? window.flatpickr : { + l10ns: {} + }; + var Slovenian = { + weekdays: { + shorthand: ["Ned", "Pon", "Tor", "Sre", "Čet", "Pet", "Sob"], + longhand: ["Nedelja", "Ponedeljek", "Torek", "Sreda", "Četrtek", "Petek", "Sobota"] + }, + months: { + shorthand: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec"], + longhand: ["Januar", "Februar", "Marec", "April", "Maj", "Junij", "Julij", "Avgust", "September", "Oktober", "November", "December"] + }, + firstDayOfWeek: 1, + rangeSeparator: " do ", + ordinal: function ordinal() { + return "."; + } }; fp.l10ns.sl = Slovenian; var sl = fp.l10ns; exports.Slovenian = Slovenian;