Skip to content

Commit 01dc457

Browse files
committed
Build for version 2.0.1
1 parent cb462ea commit 01dc457

7 files changed

+30
-24
lines changed

build/jquery.continuousCalendar-2.0.0-min.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

build/jquery.continuousCalendar-2.0.1-min.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/jquery.continuousCalendar-2.0.0.js renamed to build/jquery.continuousCalendar-2.0.1.js

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$.continuousCalendar = {};$.continuousCalendar.version = '2.0.0';$.continuousCalendar.released = '2012-08-19'
1+
$.continuousCalendar = {};$.continuousCalendar.version = '2.0.1';$.continuousCalendar.released = '2012-08-23'
22
/* ==============================================================================
33
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
44
* use this file except in compliance with the License. You may obtain a copy of
@@ -14,7 +14,7 @@ $.continuousCalendar = {};$.continuousCalendar.version = '2.0.0';$.continuousCal
1414
*/
1515
;(function(root, factory) {
1616
if (typeof define === "function" && define.amd) {
17-
define("DateTime", [], factory)
17+
define(factory)
1818
} else {
1919
root.DateTime = factory()
2020
}
@@ -251,7 +251,7 @@ $.continuousCalendar = {};$.continuousCalendar.version = '2.0.0';$.continuousCal
251251

252252
;(function(root, factory) {
253253
if (typeof define === "function" && define.amd) {
254-
define("DateLocale", [], factory)
254+
define(factory)
255255
} else {
256256
root.DateLocale = factory()
257257
}
@@ -277,7 +277,8 @@ $.continuousCalendar = {};$.continuousCalendar.version = '2.0.0';$.continuousCal
277277
'lokakuu',
278278
'marraskuu',
279279
'joulukuu'],
280-
dayNames: ['su', 'ma', 'ti', 'ke', 'to', 'pe', 'la'],
280+
dayNames: ['sunnuntai', 'maanantai', 'tiistai', 'keskiviikko', 'torstai', 'perjantai', 'lauantai'],
281+
shortDayNames: ['su', 'ma', 'ti', 'ke', 'to', 'pe', 'la'],
281282
yearsLabel: function(years) { return years + ' ' + (years == '1' ? 'vuosi' : 'vuotta') },
282283
monthsLabel: function(months) { return months + ' ' + (months == '1' ? 'kuukausi' : 'kuukautta') },
283284
daysLabel: function(days) { return days + ' ' + (days == '1' ? 'päivä' : 'päivää') },
@@ -315,7 +316,8 @@ $.continuousCalendar = {};$.continuousCalendar.version = '2.0.0';$.continuousCal
315316
'Thursday',
316317
'Friday',
317318
'Saturday'],
318-
yearsLabel: function(years) { return years + ' ' + (years == '1' ? 'Year' : 'Years') },
319+
shortDayNames: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
320+
yearsLabel: function(years) { return years + ' ' + (years == '1' ? 'Year' : 'Years'); },
319321
monthsLabel: function(months) { return months + ' ' + (months == '1' ? 'Months' : 'Months') },
320322
daysLabel: function(days) { return days + ' ' + (days == '1' ? 'Day' : 'Days') },
321323
hoursLabel: function(hours, minutes) {
@@ -352,7 +354,8 @@ $.continuousCalendar = {};$.continuousCalendar.version = '2.0.0';$.continuousCal
352354
'Thursday',
353355
'Friday',
354356
'Saturday'],
355-
yearsLabel: function(years) { return years + ' ' + (years == '1' ? 'Year' : 'Years') },
357+
shortDayNames: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
358+
yearsLabel: function(years) { return years + ' ' + (years == '1' ? 'Year' : 'Years'); },
356359
monthsLabel: function(months) { return months + ' ' + (months == '1' ? 'Months' : 'Months') },
357360
daysLabel: function(days) { return days + ' ' + (days == '1' ? 'Day' : 'Days') },
358361
hoursLabel: function(hours, minutes) {
@@ -404,7 +407,7 @@ $.continuousCalendar = {};$.continuousCalendar.version = '2.0.0';$.continuousCal
404407

405408
;(function(root, factory) {
406409
if (typeof define === "function" && define.amd) {
407-
define("DateFormat", ["DateTime"], factory)
410+
define(["./DateTime"], factory)
408411
} else {
409412
root.DateFormat = factory(root.DateTime)
410413
}
@@ -550,12 +553,12 @@ $.continuousCalendar = {};$.continuousCalendar.version = '2.0.0';$.continuousCal
550553
eval(code.substring(0, code.length - 3) + ";}")
551554
}
552555

553-
DateFormat.getFormatCode = function(character, locale) {
556+
DateFormat.getFormatCode = function(character) {
554557
switch(character) {
555558
case "d":
556559
return "DateFormat.leftPad(this.getDate(), 2, '0') + "
557560
case "D":
558-
return "locale.dayNames[this.getDay()].substring(0, 3) + "
561+
return "locale.shortDayNames[this.getDay()] + "
559562
case "j":
560563
return "this.getDate() + "
561564
case "l":
@@ -629,7 +632,7 @@ $.continuousCalendar = {};$.continuousCalendar.version = '2.0.0';$.continuousCal
629632

630633
;(function(root, factory) {
631634
if (typeof define === "function" && define.amd) {
632-
define("DateRange", ["jquery", "DateTime", "DateFormat"], factory)
635+
define(["jquery", "./DateTime", "./DateFormat"], factory)
633636
} else {
634637
root.DateRange = factory(root.jQuery, root.DateTime, root.DateFormat)
635638
}
@@ -825,7 +828,7 @@ $.continuousCalendar = {};$.continuousCalendar.version = '2.0.0';$.continuousCal
825828

826829
;(function(root, factory) {
827830
if (typeof define === 'function' && define.amd) {
828-
define('jquery.continuous-calendar', ['jquery', 'DateFormat', 'DateLocale', 'DateRange', 'DateTime'], function($, DateFormat, DateLocale, DateRange, DateTime) {
831+
define(['jquery', './DateFormat', './DateLocale', './DateRange', './DateTime'], function($, DateFormat, DateLocale, DateRange, DateTime) {
829832
factory($, DateFormat, DateLocale, DateRange, DateTime)
830833
})
831834
} else {

build/jquery.continuousCalendar-latest-min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/jquery.continuousCalendar-latest.js

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$.continuousCalendar = {};$.continuousCalendar.version = '2.0.0';$.continuousCalendar.released = '2012-08-19'
1+
$.continuousCalendar = {};$.continuousCalendar.version = '2.0.1';$.continuousCalendar.released = '2012-08-23'
22
/* ==============================================================================
33
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
44
* use this file except in compliance with the License. You may obtain a copy of
@@ -14,7 +14,7 @@ $.continuousCalendar = {};$.continuousCalendar.version = '2.0.0';$.continuousCal
1414
*/
1515
;(function(root, factory) {
1616
if (typeof define === "function" && define.amd) {
17-
define("DateTime", [], factory)
17+
define(factory)
1818
} else {
1919
root.DateTime = factory()
2020
}
@@ -251,7 +251,7 @@ $.continuousCalendar = {};$.continuousCalendar.version = '2.0.0';$.continuousCal
251251

252252
;(function(root, factory) {
253253
if (typeof define === "function" && define.amd) {
254-
define("DateLocale", [], factory)
254+
define(factory)
255255
} else {
256256
root.DateLocale = factory()
257257
}
@@ -277,7 +277,8 @@ $.continuousCalendar = {};$.continuousCalendar.version = '2.0.0';$.continuousCal
277277
'lokakuu',
278278
'marraskuu',
279279
'joulukuu'],
280-
dayNames: ['su', 'ma', 'ti', 'ke', 'to', 'pe', 'la'],
280+
dayNames: ['sunnuntai', 'maanantai', 'tiistai', 'keskiviikko', 'torstai', 'perjantai', 'lauantai'],
281+
shortDayNames: ['su', 'ma', 'ti', 'ke', 'to', 'pe', 'la'],
281282
yearsLabel: function(years) { return years + ' ' + (years == '1' ? 'vuosi' : 'vuotta') },
282283
monthsLabel: function(months) { return months + ' ' + (months == '1' ? 'kuukausi' : 'kuukautta') },
283284
daysLabel: function(days) { return days + ' ' + (days == '1' ? 'päivä' : 'päivää') },
@@ -315,7 +316,8 @@ $.continuousCalendar = {};$.continuousCalendar.version = '2.0.0';$.continuousCal
315316
'Thursday',
316317
'Friday',
317318
'Saturday'],
318-
yearsLabel: function(years) { return years + ' ' + (years == '1' ? 'Year' : 'Years') },
319+
shortDayNames: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
320+
yearsLabel: function(years) { return years + ' ' + (years == '1' ? 'Year' : 'Years'); },
319321
monthsLabel: function(months) { return months + ' ' + (months == '1' ? 'Months' : 'Months') },
320322
daysLabel: function(days) { return days + ' ' + (days == '1' ? 'Day' : 'Days') },
321323
hoursLabel: function(hours, minutes) {
@@ -352,7 +354,8 @@ $.continuousCalendar = {};$.continuousCalendar.version = '2.0.0';$.continuousCal
352354
'Thursday',
353355
'Friday',
354356
'Saturday'],
355-
yearsLabel: function(years) { return years + ' ' + (years == '1' ? 'Year' : 'Years') },
357+
shortDayNames: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
358+
yearsLabel: function(years) { return years + ' ' + (years == '1' ? 'Year' : 'Years'); },
356359
monthsLabel: function(months) { return months + ' ' + (months == '1' ? 'Months' : 'Months') },
357360
daysLabel: function(days) { return days + ' ' + (days == '1' ? 'Day' : 'Days') },
358361
hoursLabel: function(hours, minutes) {
@@ -404,7 +407,7 @@ $.continuousCalendar = {};$.continuousCalendar.version = '2.0.0';$.continuousCal
404407

405408
;(function(root, factory) {
406409
if (typeof define === "function" && define.amd) {
407-
define("DateFormat", ["DateTime"], factory)
410+
define(["./DateTime"], factory)
408411
} else {
409412
root.DateFormat = factory(root.DateTime)
410413
}
@@ -550,12 +553,12 @@ $.continuousCalendar = {};$.continuousCalendar.version = '2.0.0';$.continuousCal
550553
eval(code.substring(0, code.length - 3) + ";}")
551554
}
552555

553-
DateFormat.getFormatCode = function(character, locale) {
556+
DateFormat.getFormatCode = function(character) {
554557
switch(character) {
555558
case "d":
556559
return "DateFormat.leftPad(this.getDate(), 2, '0') + "
557560
case "D":
558-
return "locale.dayNames[this.getDay()].substring(0, 3) + "
561+
return "locale.shortDayNames[this.getDay()] + "
559562
case "j":
560563
return "this.getDate() + "
561564
case "l":
@@ -629,7 +632,7 @@ $.continuousCalendar = {};$.continuousCalendar.version = '2.0.0';$.continuousCal
629632

630633
;(function(root, factory) {
631634
if (typeof define === "function" && define.amd) {
632-
define("DateRange", ["jquery", "DateTime", "DateFormat"], factory)
635+
define(["jquery", "./DateTime", "./DateFormat"], factory)
633636
} else {
634637
root.DateRange = factory(root.jQuery, root.DateTime, root.DateFormat)
635638
}
@@ -825,7 +828,7 @@ $.continuousCalendar = {};$.continuousCalendar.version = '2.0.0';$.continuousCal
825828

826829
;(function(root, factory) {
827830
if (typeof define === 'function' && define.amd) {
828-
define('jquery.continuous-calendar', ['jquery', 'DateFormat', 'DateLocale', 'DateRange', 'DateTime'], function($, DateFormat, DateLocale, DateRange, DateTime) {
831+
define(['jquery', './DateFormat', './DateLocale', './DateRange', './DateTime'], function($, DateFormat, DateLocale, DateRange, DateTime) {
829832
factory($, DateFormat, DateLocale, DateRange, DateTime)
830833
})
831834
} else {

0 commit comments

Comments
 (0)