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 = [
"accordion",
"autocomplete",
"button"
"button",
"datepicker"
];
function getPath( module ) {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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