From f1ce6e5de53a9e1f7d2a3d8bc067effe6b028022 Mon Sep 17 00:00:00 2001 From: Alexander Schmitz Date: Tue, 14 Jul 2015 21:58:04 -0400 Subject: [PATCH] Datepicker: Move datepicker into widgets folder Ref #13885 --- demos/bootstrap.js | 3 ++- tests/unit/datepicker/core.js | 2 +- tests/unit/datepicker/events.js | 2 +- tests/unit/datepicker/helper.js | 2 +- tests/unit/datepicker/methods.js | 2 +- tests/unit/datepicker/options.js | 2 +- ui/i18n/datepicker-af.js | 2 +- ui/i18n/datepicker-ar-DZ.js | 2 +- ui/i18n/datepicker-ar.js | 2 +- ui/i18n/datepicker-az.js | 2 +- ui/i18n/datepicker-be.js | 2 +- ui/i18n/datepicker-bg.js | 2 +- ui/i18n/datepicker-bs.js | 2 +- ui/i18n/datepicker-ca.js | 2 +- ui/i18n/datepicker-cs.js | 2 +- ui/i18n/datepicker-cy-GB.js | 2 +- ui/i18n/datepicker-da.js | 2 +- ui/i18n/datepicker-de.js | 2 +- ui/i18n/datepicker-el.js | 2 +- ui/i18n/datepicker-en-AU.js | 2 +- ui/i18n/datepicker-en-GB.js | 2 +- ui/i18n/datepicker-en-NZ.js | 2 +- ui/i18n/datepicker-eo.js | 2 +- ui/i18n/datepicker-es.js | 2 +- ui/i18n/datepicker-et.js | 2 +- ui/i18n/datepicker-eu.js | 2 +- ui/i18n/datepicker-fa.js | 2 +- ui/i18n/datepicker-fi.js | 2 +- ui/i18n/datepicker-fo.js | 2 +- ui/i18n/datepicker-fr-CA.js | 2 +- ui/i18n/datepicker-fr-CH.js | 2 +- ui/i18n/datepicker-fr.js | 2 +- ui/i18n/datepicker-gl.js | 2 +- ui/i18n/datepicker-he.js | 2 +- ui/i18n/datepicker-hi.js | 2 +- ui/i18n/datepicker-hr.js | 2 +- ui/i18n/datepicker-hu.js | 2 +- ui/i18n/datepicker-hy.js | 2 +- ui/i18n/datepicker-id.js | 2 +- ui/i18n/datepicker-is.js | 2 +- ui/i18n/datepicker-it-CH.js | 2 +- ui/i18n/datepicker-it.js | 2 +- ui/i18n/datepicker-ja.js | 2 +- ui/i18n/datepicker-ka.js | 2 +- ui/i18n/datepicker-kk.js | 2 +- ui/i18n/datepicker-km.js | 2 +- ui/i18n/datepicker-ko.js | 2 +- ui/i18n/datepicker-ky.js | 2 +- ui/i18n/datepicker-lb.js | 2 +- ui/i18n/datepicker-lt.js | 2 +- ui/i18n/datepicker-lv.js | 2 +- ui/i18n/datepicker-mk.js | 2 +- ui/i18n/datepicker-ml.js | 2 +- ui/i18n/datepicker-ms.js | 2 +- ui/i18n/datepicker-nb.js | 2 +- ui/i18n/datepicker-nl-BE.js | 2 +- ui/i18n/datepicker-nl.js | 2 +- ui/i18n/datepicker-nn.js | 2 +- ui/i18n/datepicker-no.js | 2 +- ui/i18n/datepicker-pl.js | 2 +- ui/i18n/datepicker-pt-BR.js | 2 +- ui/i18n/datepicker-pt.js | 2 +- ui/i18n/datepicker-rm.js | 2 +- ui/i18n/datepicker-ro.js | 2 +- ui/i18n/datepicker-ru.js | 2 +- ui/i18n/datepicker-sk.js | 2 +- ui/i18n/datepicker-sl.js | 2 +- ui/i18n/datepicker-sq.js | 2 +- ui/i18n/datepicker-sr-SR.js | 2 +- ui/i18n/datepicker-sr.js | 2 +- ui/i18n/datepicker-sv.js | 2 +- ui/i18n/datepicker-ta.js | 2 +- ui/i18n/datepicker-th.js | 2 +- ui/i18n/datepicker-tj.js | 2 +- ui/i18n/datepicker-tr.js | 2 +- ui/i18n/datepicker-uk.js | 2 +- ui/i18n/datepicker-vi.js | 2 +- ui/i18n/datepicker-zh-CN.js | 2 +- ui/i18n/datepicker-zh-HK.js | 2 +- ui/i18n/datepicker-zh-TW.js | 2 +- ui/{ => widgets}/datepicker.js | 4 ++-- 81 files changed, 83 insertions(+), 82 deletions(-) rename ui/{ => widgets}/datepicker.js (99%) diff --git a/demos/bootstrap.js b/demos/bootstrap.js index a2ce072ea..79566fcef 100644 --- a/demos/bootstrap.js +++ b/demos/bootstrap.js @@ -27,7 +27,8 @@ var effectsAll = [ var widgets = [ "accordion", "autocomplete", - "button" + "button", + "datepicker" ]; function getPath( module ) { diff --git a/tests/unit/datepicker/core.js b/tests/unit/datepicker/core.js index 446f6757e..43d5e2243 100644 --- a/tests/unit/datepicker/core.js +++ b/tests/unit/datepicker/core.js @@ -2,7 +2,7 @@ define( [ "jquery", "lib/common", "./helper", - "ui/datepicker", + "ui/widgets/datepicker", "ui/i18n/datepicker-he" ], function( $, common, testHelper ) { diff --git a/tests/unit/datepicker/events.js b/tests/unit/datepicker/events.js index 634fb6b79..f33351b57 100644 --- a/tests/unit/datepicker/events.js +++ b/tests/unit/datepicker/events.js @@ -1,7 +1,7 @@ define( [ "jquery", "./helper", - "ui/datepicker" + "ui/widgets/datepicker" ], function( $, testHelper ) { module("datepicker: events"); diff --git a/tests/unit/datepicker/helper.js b/tests/unit/datepicker/helper.js index 4cd9b48ff..a9753a89a 100644 --- a/tests/unit/datepicker/helper.js +++ b/tests/unit/datepicker/helper.js @@ -1,7 +1,7 @@ define( [ "jquery", "lib/helper", - "ui/datepicker" + "ui/widgets/datepicker" ], function( $, helper ) { return $.extend( helper, { diff --git a/tests/unit/datepicker/methods.js b/tests/unit/datepicker/methods.js index 14fefacc2..571b4cb98 100644 --- a/tests/unit/datepicker/methods.js +++ b/tests/unit/datepicker/methods.js @@ -1,7 +1,7 @@ define( [ "jquery", "./helper", - "ui/datepicker" + "ui/widgets/datepicker" ], function( $, testHelper ) { module("datepicker: methods"); diff --git a/tests/unit/datepicker/options.js b/tests/unit/datepicker/options.js index 573b29b32..3a6c15c6d 100644 --- a/tests/unit/datepicker/options.js +++ b/tests/unit/datepicker/options.js @@ -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" diff --git a/ui/i18n/datepicker-af.js b/ui/i18n/datepicker-af.js index ec86242d6..6c5355696 100644 --- a/ui/i18n/datepicker-af.js +++ b/ui/i18n/datepicker-af.js @@ -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 diff --git a/ui/i18n/datepicker-ar-DZ.js b/ui/i18n/datepicker-ar-DZ.js index 5adf2476e..ff003c998 100644 --- a/ui/i18n/datepicker-ar-DZ.js +++ b/ui/i18n/datepicker-ar-DZ.js @@ -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 diff --git a/ui/i18n/datepicker-ar.js b/ui/i18n/datepicker-ar.js index c9ee84a54..73ed1dfe0 100644 --- a/ui/i18n/datepicker-ar.js +++ b/ui/i18n/datepicker-ar.js @@ -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 diff --git a/ui/i18n/datepicker-az.js b/ui/i18n/datepicker-az.js index be87ad411..2ab92b1a5 100644 --- a/ui/i18n/datepicker-az.js +++ b/ui/i18n/datepicker-az.js @@ -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 diff --git a/ui/i18n/datepicker-be.js b/ui/i18n/datepicker-be.js index cac5f4911..8cb24592a 100644 --- a/ui/i18n/datepicker-be.js +++ b/ui/i18n/datepicker-be.js @@ -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 diff --git a/ui/i18n/datepicker-bg.js b/ui/i18n/datepicker-bg.js index 0ee1b171d..c2db5e679 100644 --- a/ui/i18n/datepicker-bg.js +++ b/ui/i18n/datepicker-bg.js @@ -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 diff --git a/ui/i18n/datepicker-bs.js b/ui/i18n/datepicker-bs.js index 142608ff3..3b83064f4 100644 --- a/ui/i18n/datepicker-bs.js +++ b/ui/i18n/datepicker-bs.js @@ -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 diff --git a/ui/i18n/datepicker-ca.js b/ui/i18n/datepicker-ca.js index ab1dbc34d..c35fa08a1 100644 --- a/ui/i18n/datepicker-ca.js +++ b/ui/i18n/datepicker-ca.js @@ -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 diff --git a/ui/i18n/datepicker-cs.js b/ui/i18n/datepicker-cs.js index 34dae5ecd..cb6dfe095 100644 --- a/ui/i18n/datepicker-cs.js +++ b/ui/i18n/datepicker-cs.js @@ -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 diff --git a/ui/i18n/datepicker-cy-GB.js b/ui/i18n/datepicker-cy-GB.js index f56cbef76..0935bd034 100644 --- a/ui/i18n/datepicker-cy-GB.js +++ b/ui/i18n/datepicker-cy-GB.js @@ -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 diff --git a/ui/i18n/datepicker-da.js b/ui/i18n/datepicker-da.js index d8881e1b6..4c9f4b727 100644 --- a/ui/i18n/datepicker-da.js +++ b/ui/i18n/datepicker-da.js @@ -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 diff --git a/ui/i18n/datepicker-de.js b/ui/i18n/datepicker-de.js index bc92a931b..7de94e531 100644 --- a/ui/i18n/datepicker-de.js +++ b/ui/i18n/datepicker-de.js @@ -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 diff --git a/ui/i18n/datepicker-el.js b/ui/i18n/datepicker-el.js index 362e248f8..648a90631 100644 --- a/ui/i18n/datepicker-el.js +++ b/ui/i18n/datepicker-el.js @@ -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 diff --git a/ui/i18n/datepicker-en-AU.js b/ui/i18n/datepicker-en-AU.js index 21a7abcd5..c1f6b249f 100644 --- a/ui/i18n/datepicker-en-AU.js +++ b/ui/i18n/datepicker-en-AU.js @@ -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 diff --git a/ui/i18n/datepicker-en-GB.js b/ui/i18n/datepicker-en-GB.js index e152bbc6a..0db301547 100644 --- a/ui/i18n/datepicker-en-GB.js +++ b/ui/i18n/datepicker-en-GB.js @@ -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 diff --git a/ui/i18n/datepicker-en-NZ.js b/ui/i18n/datepicker-en-NZ.js index ea840bd1c..d40e15960 100644 --- a/ui/i18n/datepicker-en-NZ.js +++ b/ui/i18n/datepicker-en-NZ.js @@ -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 diff --git a/ui/i18n/datepicker-eo.js b/ui/i18n/datepicker-eo.js index ebbb7238b..d65a34237 100644 --- a/ui/i18n/datepicker-eo.js +++ b/ui/i18n/datepicker-eo.js @@ -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 diff --git a/ui/i18n/datepicker-es.js b/ui/i18n/datepicker-es.js index c51475e30..79830c5f9 100644 --- a/ui/i18n/datepicker-es.js +++ b/ui/i18n/datepicker-es.js @@ -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 diff --git a/ui/i18n/datepicker-et.js b/ui/i18n/datepicker-et.js index 2a5721252..ebffcdbd3 100644 --- a/ui/i18n/datepicker-et.js +++ b/ui/i18n/datepicker-et.js @@ -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 diff --git a/ui/i18n/datepicker-eu.js b/ui/i18n/datepicker-eu.js index 25b95981f..6f15f3402 100644 --- a/ui/i18n/datepicker-eu.js +++ b/ui/i18n/datepicker-eu.js @@ -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 diff --git a/ui/i18n/datepicker-fa.js b/ui/i18n/datepicker-fa.js index 71f8a2852..89abc5be1 100644 --- a/ui/i18n/datepicker-fa.js +++ b/ui/i18n/datepicker-fa.js @@ -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 diff --git a/ui/i18n/datepicker-fi.js b/ui/i18n/datepicker-fi.js index eac170496..a9964cfdd 100644 --- a/ui/i18n/datepicker-fi.js +++ b/ui/i18n/datepicker-fi.js @@ -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 diff --git a/ui/i18n/datepicker-fo.js b/ui/i18n/datepicker-fo.js index 1754f7be7..7b76db428 100644 --- a/ui/i18n/datepicker-fo.js +++ b/ui/i18n/datepicker-fo.js @@ -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 diff --git a/ui/i18n/datepicker-fr-CA.js b/ui/i18n/datepicker-fr-CA.js index ca0f3eb11..c3262b718 100644 --- a/ui/i18n/datepicker-fr-CA.js +++ b/ui/i18n/datepicker-fr-CA.js @@ -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 diff --git a/ui/i18n/datepicker-fr-CH.js b/ui/i18n/datepicker-fr-CH.js index ddc56fbfc..727a79107 100644 --- a/ui/i18n/datepicker-fr-CH.js +++ b/ui/i18n/datepicker-fr-CH.js @@ -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 diff --git a/ui/i18n/datepicker-fr.js b/ui/i18n/datepicker-fr.js index 6b6e0b35f..e4cb3f5af 100644 --- a/ui/i18n/datepicker-fr.js +++ b/ui/i18n/datepicker-fr.js @@ -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 diff --git a/ui/i18n/datepicker-gl.js b/ui/i18n/datepicker-gl.js index ed5b2d2fc..45e94fcb9 100644 --- a/ui/i18n/datepicker-gl.js +++ b/ui/i18n/datepicker-gl.js @@ -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 diff --git a/ui/i18n/datepicker-he.js b/ui/i18n/datepicker-he.js index 9b1661352..eeb9a2f7d 100644 --- a/ui/i18n/datepicker-he.js +++ b/ui/i18n/datepicker-he.js @@ -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 diff --git a/ui/i18n/datepicker-hi.js b/ui/i18n/datepicker-hi.js index f20a900ca..78e2a9a63 100644 --- a/ui/i18n/datepicker-hi.js +++ b/ui/i18n/datepicker-hi.js @@ -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 diff --git a/ui/i18n/datepicker-hr.js b/ui/i18n/datepicker-hr.js index e8b0414b5..7c278168e 100644 --- a/ui/i18n/datepicker-hr.js +++ b/ui/i18n/datepicker-hr.js @@ -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 diff --git a/ui/i18n/datepicker-hu.js b/ui/i18n/datepicker-hu.js index 8ea85506e..8d28e1aa6 100644 --- a/ui/i18n/datepicker-hu.js +++ b/ui/i18n/datepicker-hu.js @@ -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 diff --git a/ui/i18n/datepicker-hy.js b/ui/i18n/datepicker-hy.js index ab6e362d6..69fb79fd1 100644 --- a/ui/i18n/datepicker-hy.js +++ b/ui/i18n/datepicker-hy.js @@ -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 diff --git a/ui/i18n/datepicker-id.js b/ui/i18n/datepicker-id.js index 0db693faf..135c8620e 100644 --- a/ui/i18n/datepicker-id.js +++ b/ui/i18n/datepicker-id.js @@ -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 diff --git a/ui/i18n/datepicker-is.js b/ui/i18n/datepicker-is.js index 16bc79ad8..76fce6374 100644 --- a/ui/i18n/datepicker-is.js +++ b/ui/i18n/datepicker-is.js @@ -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 diff --git a/ui/i18n/datepicker-it-CH.js b/ui/i18n/datepicker-it-CH.js index 30d5a4180..7f4473025 100644 --- a/ui/i18n/datepicker-it-CH.js +++ b/ui/i18n/datepicker-it-CH.js @@ -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 diff --git a/ui/i18n/datepicker-it.js b/ui/i18n/datepicker-it.js index 4d4d62f9b..24dff6ee6 100644 --- a/ui/i18n/datepicker-it.js +++ b/ui/i18n/datepicker-it.js @@ -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 diff --git a/ui/i18n/datepicker-ja.js b/ui/i18n/datepicker-ja.js index 381f41b5d..8806d194b 100644 --- a/ui/i18n/datepicker-ja.js +++ b/ui/i18n/datepicker-ja.js @@ -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 diff --git a/ui/i18n/datepicker-ka.js b/ui/i18n/datepicker-ka.js index 69103542b..e3dd2f0c4 100644 --- a/ui/i18n/datepicker-ka.js +++ b/ui/i18n/datepicker-ka.js @@ -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 diff --git a/ui/i18n/datepicker-kk.js b/ui/i18n/datepicker-kk.js index e85fd8354..a4d2d5c4b 100644 --- a/ui/i18n/datepicker-kk.js +++ b/ui/i18n/datepicker-kk.js @@ -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 diff --git a/ui/i18n/datepicker-km.js b/ui/i18n/datepicker-km.js index 599a47713..48e35a147 100644 --- a/ui/i18n/datepicker-km.js +++ b/ui/i18n/datepicker-km.js @@ -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 diff --git a/ui/i18n/datepicker-ko.js b/ui/i18n/datepicker-ko.js index 991b5727e..2c9010258 100644 --- a/ui/i18n/datepicker-ko.js +++ b/ui/i18n/datepicker-ko.js @@ -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 diff --git a/ui/i18n/datepicker-ky.js b/ui/i18n/datepicker-ky.js index a09bc0c6a..4fa84be89 100644 --- a/ui/i18n/datepicker-ky.js +++ b/ui/i18n/datepicker-ky.js @@ -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 diff --git a/ui/i18n/datepicker-lb.js b/ui/i18n/datepicker-lb.js index 4f2e414be..024656550 100644 --- a/ui/i18n/datepicker-lb.js +++ b/ui/i18n/datepicker-lb.js @@ -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 diff --git a/ui/i18n/datepicker-lt.js b/ui/i18n/datepicker-lt.js index 60ccbefe7..2f5a67e1d 100644 --- a/ui/i18n/datepicker-lt.js +++ b/ui/i18n/datepicker-lt.js @@ -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 diff --git a/ui/i18n/datepicker-lv.js b/ui/i18n/datepicker-lv.js index b9e288535..20dda0acb 100644 --- a/ui/i18n/datepicker-lv.js +++ b/ui/i18n/datepicker-lv.js @@ -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 diff --git a/ui/i18n/datepicker-mk.js b/ui/i18n/datepicker-mk.js index 15942e281..b5463d182 100644 --- a/ui/i18n/datepicker-mk.js +++ b/ui/i18n/datepicker-mk.js @@ -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 diff --git a/ui/i18n/datepicker-ml.js b/ui/i18n/datepicker-ml.js index ffcc15fa9..554cb1667 100644 --- a/ui/i18n/datepicker-ml.js +++ b/ui/i18n/datepicker-ml.js @@ -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 diff --git a/ui/i18n/datepicker-ms.js b/ui/i18n/datepicker-ms.js index d452df3ef..4a13ec4e4 100644 --- a/ui/i18n/datepicker-ms.js +++ b/ui/i18n/datepicker-ms.js @@ -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 diff --git a/ui/i18n/datepicker-nb.js b/ui/i18n/datepicker-nb.js index afe429f47..2ad0e03b4 100644 --- a/ui/i18n/datepicker-nb.js +++ b/ui/i18n/datepicker-nb.js @@ -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 diff --git a/ui/i18n/datepicker-nl-BE.js b/ui/i18n/datepicker-nl-BE.js index 47634d920..192aeb7ed 100644 --- a/ui/i18n/datepicker-nl-BE.js +++ b/ui/i18n/datepicker-nl-BE.js @@ -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 diff --git a/ui/i18n/datepicker-nl.js b/ui/i18n/datepicker-nl.js index 9be14bb2a..bfbb1a688 100644 --- a/ui/i18n/datepicker-nl.js +++ b/ui/i18n/datepicker-nl.js @@ -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 diff --git a/ui/i18n/datepicker-nn.js b/ui/i18n/datepicker-nn.js index 37965e822..6d8fdc857 100644 --- a/ui/i18n/datepicker-nn.js +++ b/ui/i18n/datepicker-nn.js @@ -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 diff --git a/ui/i18n/datepicker-no.js b/ui/i18n/datepicker-no.js index 8917b6a26..316e9c333 100644 --- a/ui/i18n/datepicker-no.js +++ b/ui/i18n/datepicker-no.js @@ -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 diff --git a/ui/i18n/datepicker-pl.js b/ui/i18n/datepicker-pl.js index a04de8e8a..c9dd9d2b9 100644 --- a/ui/i18n/datepicker-pl.js +++ b/ui/i18n/datepicker-pl.js @@ -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 diff --git a/ui/i18n/datepicker-pt-BR.js b/ui/i18n/datepicker-pt-BR.js index d6bd89907..90cf0abc1 100644 --- a/ui/i18n/datepicker-pt-BR.js +++ b/ui/i18n/datepicker-pt-BR.js @@ -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 diff --git a/ui/i18n/datepicker-pt.js b/ui/i18n/datepicker-pt.js index bb46838e2..cce2d7efe 100644 --- a/ui/i18n/datepicker-pt.js +++ b/ui/i18n/datepicker-pt.js @@ -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 diff --git a/ui/i18n/datepicker-rm.js b/ui/i18n/datepicker-rm.js index 1e39eb0ee..2c12e9e93 100644 --- a/ui/i18n/datepicker-rm.js +++ b/ui/i18n/datepicker-rm.js @@ -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 diff --git a/ui/i18n/datepicker-ro.js b/ui/i18n/datepicker-ro.js index 66ee1099f..ef658472f 100644 --- a/ui/i18n/datepicker-ro.js +++ b/ui/i18n/datepicker-ro.js @@ -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 diff --git a/ui/i18n/datepicker-ru.js b/ui/i18n/datepicker-ru.js index c3fda5d59..e2b16623a 100644 --- a/ui/i18n/datepicker-ru.js +++ b/ui/i18n/datepicker-ru.js @@ -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 diff --git a/ui/i18n/datepicker-sk.js b/ui/i18n/datepicker-sk.js index 1f924f820..73b490718 100644 --- a/ui/i18n/datepicker-sk.js +++ b/ui/i18n/datepicker-sk.js @@ -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 diff --git a/ui/i18n/datepicker-sl.js b/ui/i18n/datepicker-sl.js index 88d7f2b19..083b2ae40 100644 --- a/ui/i18n/datepicker-sl.js +++ b/ui/i18n/datepicker-sl.js @@ -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 diff --git a/ui/i18n/datepicker-sq.js b/ui/i18n/datepicker-sq.js index f88c22c56..d0d8f5703 100644 --- a/ui/i18n/datepicker-sq.js +++ b/ui/i18n/datepicker-sq.js @@ -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 diff --git a/ui/i18n/datepicker-sr-SR.js b/ui/i18n/datepicker-sr-SR.js index 239e94098..0c2d2af49 100644 --- a/ui/i18n/datepicker-sr-SR.js +++ b/ui/i18n/datepicker-sr-SR.js @@ -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 diff --git a/ui/i18n/datepicker-sr.js b/ui/i18n/datepicker-sr.js index 0f6d9e240..2d28e17c0 100644 --- a/ui/i18n/datepicker-sr.js +++ b/ui/i18n/datepicker-sr.js @@ -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 diff --git a/ui/i18n/datepicker-sv.js b/ui/i18n/datepicker-sv.js index 487473890..87e02cc00 100644 --- a/ui/i18n/datepicker-sv.js +++ b/ui/i18n/datepicker-sv.js @@ -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 diff --git a/ui/i18n/datepicker-ta.js b/ui/i18n/datepicker-ta.js index 113a20849..e3b66fe37 100644 --- a/ui/i18n/datepicker-ta.js +++ b/ui/i18n/datepicker-ta.js @@ -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 diff --git a/ui/i18n/datepicker-th.js b/ui/i18n/datepicker-th.js index 9314268c2..2a174f670 100644 --- a/ui/i18n/datepicker-th.js +++ b/ui/i18n/datepicker-th.js @@ -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 diff --git a/ui/i18n/datepicker-tj.js b/ui/i18n/datepicker-tj.js index b6a995e37..7bfcc7595 100644 --- a/ui/i18n/datepicker-tj.js +++ b/ui/i18n/datepicker-tj.js @@ -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 diff --git a/ui/i18n/datepicker-tr.js b/ui/i18n/datepicker-tr.js index c366eb16a..98370d38c 100644 --- a/ui/i18n/datepicker-tr.js +++ b/ui/i18n/datepicker-tr.js @@ -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 diff --git a/ui/i18n/datepicker-uk.js b/ui/i18n/datepicker-uk.js index ab4adb9dd..0dddc3eb8 100644 --- a/ui/i18n/datepicker-uk.js +++ b/ui/i18n/datepicker-uk.js @@ -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 diff --git a/ui/i18n/datepicker-vi.js b/ui/i18n/datepicker-vi.js index 187ec15e4..de9e8c02c 100644 --- a/ui/i18n/datepicker-vi.js +++ b/ui/i18n/datepicker-vi.js @@ -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 diff --git a/ui/i18n/datepicker-zh-CN.js b/ui/i18n/datepicker-zh-CN.js index b62090a63..977e6628c 100644 --- a/ui/i18n/datepicker-zh-CN.js +++ b/ui/i18n/datepicker-zh-CN.js @@ -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 diff --git a/ui/i18n/datepicker-zh-HK.js b/ui/i18n/datepicker-zh-HK.js index ca5517ece..4feb5a79d 100644 --- a/ui/i18n/datepicker-zh-HK.js +++ b/ui/i18n/datepicker-zh-HK.js @@ -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 diff --git a/ui/i18n/datepicker-zh-TW.js b/ui/i18n/datepicker-zh-TW.js index c9e6dfcb6..120c46143 100644 --- a/ui/i18n/datepicker-zh-TW.js +++ b/ui/i18n/datepicker-zh-TW.js @@ -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 diff --git a/ui/datepicker.js b/ui/widgets/datepicker.js similarity index 99% rename from ui/datepicker.js rename to ui/widgets/datepicker.js index 406a0124c..85b658319 100644 --- a/ui/datepicker.js +++ b/ui/widgets/datepicker.js @@ -22,8 +22,8 @@ // AMD. Register as an anonymous module. define([ "jquery", - "./version", - "./keycode" + "../version", + "../keycode" ], factory ); } else { -- 2.39.5