Datepicker: Move datepicker into widgets folder

Ref #13885
This commit is contained in:
Alexander Schmitz 2015-07-14 21:58:04 -04:00
parent dd6a99f140
commit f1ce6e5de5
81 changed files with 83 additions and 82 deletions

3
demos/bootstrap.js vendored
View File

@ -27,7 +27,8 @@ var effectsAll = [
var widgets = [ var widgets = [
"accordion", "accordion",
"autocomplete", "autocomplete",
"button" "button",
"datepicker"
]; ];
function getPath( module ) { function getPath( module ) {

View File

@ -2,7 +2,7 @@ define( [
"jquery", "jquery",
"lib/common", "lib/common",
"./helper", "./helper",
"ui/datepicker", "ui/widgets/datepicker",
"ui/i18n/datepicker-he" "ui/i18n/datepicker-he"
], function( $, common, testHelper ) { ], function( $, common, testHelper ) {

View File

@ -1,7 +1,7 @@
define( [ define( [
"jquery", "jquery",
"./helper", "./helper",
"ui/datepicker" "ui/widgets/datepicker"
], function( $, testHelper ) { ], function( $, testHelper ) {
module("datepicker: events"); module("datepicker: events");

View File

@ -1,7 +1,7 @@
define( [ define( [
"jquery", "jquery",
"lib/helper", "lib/helper",
"ui/datepicker" "ui/widgets/datepicker"
], function( $, helper ) { ], function( $, helper ) {
return $.extend( helper, { return $.extend( helper, {

View File

@ -1,7 +1,7 @@
define( [ define( [
"jquery", "jquery",
"./helper", "./helper",
"ui/datepicker" "ui/widgets/datepicker"
], function( $, testHelper ) { ], function( $, testHelper ) {
module("datepicker: methods"); module("datepicker: methods");

View File

@ -1,7 +1,7 @@
define( [ define( [
"jquery", "jquery",
"./helper", "./helper",
"ui/datepicker", "ui/widgets/datepicker",
"ui/i18n/datepicker-fr", "ui/i18n/datepicker-fr",
"ui/i18n/datepicker-he", "ui/i18n/datepicker-he",
"ui/i18n/datepicker-zh-CN" "ui/i18n/datepicker-zh-CN"

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -5,7 +5,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -6,7 +6,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -3,7 +3,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -5,7 +5,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -3,7 +3,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -6,7 +6,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -3,7 +3,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -5,7 +5,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -3,7 +3,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -7,7 +7,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -5,7 +5,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -5,7 +5,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -4,7 +4,7 @@
if ( typeof define === "function" && define.amd ) { if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ "../datepicker" ], factory ); define([ "../widgets/datepicker" ], factory );
} else { } else {
// Browser globals // Browser globals

View File

@ -22,8 +22,8 @@
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define([ define([
"jquery", "jquery",
"./version", "../version",
"./keycode" "../keycode"
], factory ); ], factory );
} else { } else {