Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
chmln committed May 22, 2017
1 parent 0bcfe61 commit 023f219
Show file tree
Hide file tree
Showing 17 changed files with 58 additions and 31 deletions.
2 changes: 1 addition & 1 deletion dist/flatpickr.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument

var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };

/*! flatpickr v2.6.2, @license MIT */
/*! flatpickr v2.6.3, @license MIT */
function Flatpickr(element, config) {
var self = this;

Expand Down
2 changes: 1 addition & 1 deletion dist/flatpickr.min.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions dist/l10n/no.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ Flatpickr.l10ns.no.months = {
};

Flatpickr.l10ns.no.firstDayOfWeek = 1;
Flatpickr.l10ns.no.rangeSeparator = " til ";
Flatpickr.l10ns.no.weekAbbreviation = "Uke";
Flatpickr.l10ns.no.scrollTitle = "Scroll for å endre";
Flatpickr.l10ns.no.toggleTitle = "Klikk for å veksle";

Flatpickr.l10ns.no.ordinal = function () {
return ".";
Expand Down
8 changes: 5 additions & 3 deletions dist/l10n/pt.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Portuguese locals for flatpickr */
var Flatpickr = Flatpickr || { l10ns: {} };
var Flatpickr = Flatpickr || {l10ns: {}};
Flatpickr.l10ns.pt = {};

Flatpickr.l10ns.pt.weekdays = {
Expand All @@ -12,6 +12,8 @@ Flatpickr.l10ns.pt.months = {
longhand: ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"]
};

Flatpickr.l10ns.pt.rangeSeparator = " até ";
Flatpickr.l10ns.pt.rangeSeparator = " até "

if (typeof module !== "undefined")
module.exports = Flatpickr.l10ns;

if (typeof module !== "undefined") module.exports = Flatpickr.l10ns;
8 changes: 5 additions & 3 deletions dist/l10n/ro.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Romanian locals for flatpickr */
var Flatpickr = Flatpickr || { l10ns: {} };
var Flatpickr = Flatpickr || {l10ns: {}};
Flatpickr.l10ns.ro = {};

Flatpickr.l10ns.ro.weekdays = {
Expand All @@ -14,8 +14,10 @@ Flatpickr.l10ns.ro.months = {

Flatpickr.l10ns.ro.firstDayOfWeek = 1;

Flatpickr.l10ns.ro.ordinal = function () {
Flatpickr.l10ns.ro.ordinal = () => {
return "";
};

if (typeof module !== "undefined") module.exports = Flatpickr.l10ns;
if (typeof module !== "undefined")
module.exports = Flatpickr.l10ns;

6 changes: 4 additions & 2 deletions dist/l10n/ru.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Russian locals for flatpickr */
var Flatpickr = Flatpickr || { l10ns: {} };
var Flatpickr = Flatpickr || {l10ns: {}};
Flatpickr.l10ns.ru = {};

Flatpickr.l10ns.ru.firstDayOfWeek = 1; // Monday
Expand All @@ -13,4 +13,6 @@ Flatpickr.l10ns.ru.months = {
shorthand: ["Янв", "Фев", "Март", "Апр", "Май", "Июнь", "Июль", "Авг", "Сен", "Окт", "Ноя", "Дек"],
longhand: ["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"]
};
if (typeof module !== "undefined") module.exports = Flatpickr.l10ns;
if (typeof module !== "undefined")
module.exports = Flatpickr.l10ns;

6 changes: 4 additions & 2 deletions dist/l10n/si.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Sinhala locals for flatpickr */
var Flatpickr = Flatpickr || { l10ns: {} };
var Flatpickr = Flatpickr || {l10ns: {}};
Flatpickr.l10ns.si = {};

Flatpickr.l10ns.si.weekdays = {
Expand All @@ -12,4 +12,6 @@ Flatpickr.l10ns.si.months = {
longhand: ["ජනවාරි", "පෙබරවාරි", "මාර්තු", "අප්‍රේල්", "මැයි", "ජුනි", "ජූලි", "අගෝස්තු", "සැප්තැම්බර්", "ඔක්තෝබර්", "නොවැම්බර්", "දෙසැම්බර්"]
};

if (typeof module !== "undefined") module.exports = Flatpickr.l10ns;
if (typeof module !== "undefined")
module.exports = Flatpickr.l10ns;

2 changes: 1 addition & 1 deletion dist/l10n/sk.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ Flatpickr.l10ns.sk.ordinal = function () {
return ".";
};

if (typeof module !== "undefined") module.exports = Flatpickr.l10ns;
if (typeof module !== "undefined") module.exports = Flatpickr.l10ns;
4 changes: 3 additions & 1 deletion dist/l10n/sl.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ Flatpickr.l10ns.sl.ordinal = function () {
return ".";
};

if (typeof module !== "undefined") module.exports = Flatpickr.l10ns;
if (typeof module !== "undefined")
module.exports = Flatpickr.l10ns;

6 changes: 4 additions & 2 deletions dist/l10n/sq.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Albanian locals for flatpickr */
var Flatpickr = Flatpickr || { l10ns: {} };
var Flatpickr = Flatpickr || {l10ns: {}};
Flatpickr.l10ns.sq = {};

Flatpickr.l10ns.sq.weekdays = {
Expand All @@ -11,4 +11,6 @@ Flatpickr.l10ns.sq.months = {
shorthand: ["Jan", "Shk", "Mar", "Pri", "Maj", "Qer", "Kor", "Gus", "Sht", "Tet", "Nën", "Dhj"],
longhand: ["Janar", "Shkurt", "Mars", "Prill", "Maj", "Qershor", "Korrik", "Gusht", "Shtator", "Tetor", "Nëntor", "Dhjetor"]
};
if (typeof module !== "undefined") module.exports = Flatpickr.l10ns;
if (typeof module !== "undefined")
module.exports = Flatpickr.l10ns;

7 changes: 4 additions & 3 deletions dist/l10n/sr.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/* Serbian locals for flatpickr */
var Flatpickr = Flatpickr || { l10ns: {} };
var Flatpickr = Flatpickr || {l10ns: {}};
Flatpickr.l10ns.sr = {};

Flatpickr.l10ns.sr.weekdays = {
shorthand: ["Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub", "Ned"],
longhand: ["Nedelja", "Ponedeljak", "Utorak", "Sreda", "Četvrtak", "Petak", "Subota", "Nedelja"]
longhand: ["Nedelja","Ponedeljak", "Utorak", "Sreda", "Četvrtak", "Petak", "Subota", "Nedelja"]
};

Flatpickr.l10ns.sr.months = {
Expand All @@ -16,4 +16,5 @@ Flatpickr.l10ns.sr.firstDayOfWeek = 1;
Flatpickr.l10ns.sr.weekAbbreviation = "Ned.";
Flatpickr.l10ns.sr.rangeSeparator = " do ";

if (typeof module !== "undefined") module.exports = Flatpickr.l10ns;
if (typeof module !== "undefined")
module.exports = Flatpickr.l10ns;
8 changes: 5 additions & 3 deletions dist/l10n/sv.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Swedish locals for flatpickr */
var Flatpickr = Flatpickr || { l10ns: {} };
var Flatpickr = Flatpickr || {l10ns: {}};
Flatpickr.l10ns.sv = {};

Flatpickr.l10ns.sv.firstDayOfWeek = 1;
Expand All @@ -15,7 +15,9 @@ Flatpickr.l10ns.sv.months = {
longhand: ["Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December"]
};

Flatpickr.l10ns.sv.ordinal = function () {
Flatpickr.l10ns.sv.ordinal = () => {
return ".";
};
if (typeof module !== "undefined") module.exports = Flatpickr.l10ns;
if (typeof module !== "undefined")
module.exports = Flatpickr.l10ns;

7 changes: 4 additions & 3 deletions dist/l10n/th.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Thai locals for flatpickr */
var Flatpickr = Flatpickr || { l10ns: {} };
var Flatpickr = Flatpickr || {l10ns: {}};
Flatpickr.l10ns.th = {};

Flatpickr.l10ns.th.weekdays = {
Expand All @@ -17,8 +17,9 @@ Flatpickr.l10ns.th.rangeSeparator = " ถึง ";
Flatpickr.l10ns.th.scrollTitle = "เลื่อนเพื่อเพิ่มหรือลด";
Flatpickr.l10ns.th.toggleTitle = "คลิกเพื่อเปลี่ยน";

Flatpickr.l10ns.th.ordinal = function () {
Flatpickr.l10ns.th.ordinal = () => {
return "";
};

if (typeof module !== "undefined") module.exports = Flatpickr.l10ns;
if (typeof module !== "undefined")
module.exports = Flatpickr.l10ns;
6 changes: 4 additions & 2 deletions dist/l10n/tr.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Turkish locals for flatpickr */
var Flatpickr = Flatpickr || { l10ns: {} };
var Flatpickr = Flatpickr || {l10ns: {}};
Flatpickr.l10ns.tr = {};

Flatpickr.l10ns.tr.firstDayOfWeek = 1;
Expand All @@ -13,4 +13,6 @@ Flatpickr.l10ns.tr.months = {
shorthand: ["Oca", "Şub", "Mar", "Nis", "May", "Haz", "Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara"],
longhand: ["Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık"]
};
if (typeof module !== "undefined") module.exports = Flatpickr.l10ns;
if (typeof module !== "undefined")
module.exports = Flatpickr.l10ns;

3 changes: 2 additions & 1 deletion dist/l10n/uk.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ Flatpickr.l10ns.uk.months = {
shorthand: ["Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Гру"],
longhand: ["Січень", "Лютий", "Березень", "Квітень", "Травень", "Червень", "Липень", "Серпень", "Вересень", "Жовтень", "Листопад", "Грудень"]
};
if (typeof module !== "undefined") module.exports = Flatpickr.l10ns;
if (typeof module !== "undefined")
module.exports = Flatpickr.l10ns;
4 changes: 3 additions & 1 deletion dist/l10n/vn.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ Flatpickr.l10ns.vn.months = {

Flatpickr.l10ns.vn.firstDayOfWeek = 1;

if (typeof module !== "undefined") module.exports = Flatpickr.l10ns;
if (typeof module !== "undefined")
module.exports = Flatpickr.l10ns;

6 changes: 4 additions & 2 deletions dist/l10n/zh.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Mandarin locals for flatpickr */
var Flatpickr = Flatpickr || { l10ns: {} };
var Flatpickr = Flatpickr || {l10ns: {}};
Flatpickr.l10ns.zh = {};

Flatpickr.l10ns.zh.weekdays = {
Expand All @@ -17,4 +17,6 @@ Flatpickr.l10ns.zh.weekAbbreviation = "周";
Flatpickr.l10ns.zh.scrollTitle = "滚动切换";
Flatpickr.l10ns.zh.toggleTitle = "点击切换 12/24 小时时制";

if (typeof module !== "undefined") module.exports = Flatpickr.l10ns;
if (typeof module !== "undefined")
module.exports = Flatpickr.l10ns;

0 comments on commit 023f219

Please sign in to comment.