diff options
author | Rafael Xavier de Souza <rxaviers@gmail.com> | 2013-12-02 16:36:12 -0200 |
---|---|---|
committer | Rafael Xavier de Souza <rxaviers@gmail.com> | 2014-01-24 18:22:49 -0200 |
commit | 21154cfa2e02ef1814a6aff68b14553bdad165cb (patch) | |
tree | 7a6df22c3cb8a1f0060f864e4a2eb241232024a3 /tests/unit | |
parent | 234f7f3c0e8e0de5b5c194a357e02edc95a83376 (diff) | |
download | jquery-ui-21154cfa2e02ef1814a6aff68b14553bdad165cb.tar.gz jquery-ui-21154cfa2e02ef1814a6aff68b14553bdad165cb.zip |
All: Rename all files, removing the "jquery.ui." prefix;
- By executing https://gist.github.com/jzaefferer/893fcf70b7eebc1dc271;
Fixes #9464
Closes gh-1029
Diffstat (limited to 'tests/unit')
24 files changed, 119 insertions, 119 deletions
diff --git a/tests/unit/accordion/accordion.html b/tests/unit/accordion/accordion.html index 67928fd5d..15163880f 100644 --- a/tests/unit/accordion/accordion.html +++ b/tests/unit/accordion/accordion.html @@ -11,11 +11,11 @@ <script src="../testsuite.js"></script> <script> TestHelpers.loadResources({ - css: [ "ui.core", "ui.accordion" ], + css: [ "core", "accordion" ], js: [ - "ui/jquery.ui.core.js", - "ui/jquery.ui.widget.js", - "ui/jquery.ui.accordion.js" + "ui/core.js", + "ui/widget.js", + "ui/accordion.js" ] }); </script> diff --git a/tests/unit/autocomplete/autocomplete.html b/tests/unit/autocomplete/autocomplete.html index 8c7b5b698..919c12702 100644 --- a/tests/unit/autocomplete/autocomplete.html +++ b/tests/unit/autocomplete/autocomplete.html @@ -11,13 +11,13 @@ <script src="../testsuite.js"></script> <script> TestHelpers.loadResources({ - css: [ "ui.core", "ui.menu", "ui.autocomplete" ], + css: [ "core", "menu", "autocomplete" ], js: [ - "ui/jquery.ui.core.js", - "ui/jquery.ui.widget.js", - "ui/jquery.ui.position.js", - "ui/jquery.ui.menu.js", - "ui/jquery.ui.autocomplete.js" + "ui/core.js", + "ui/widget.js", + "ui/position.js", + "ui/menu.js", + "ui/autocomplete.js" ] }); </script> diff --git a/tests/unit/button/button.html b/tests/unit/button/button.html index 223581ef7..3d693775f 100644 --- a/tests/unit/button/button.html +++ b/tests/unit/button/button.html @@ -11,11 +11,11 @@ <script src="../testsuite.js"></script> <script> TestHelpers.loadResources({ - css: [ "ui.core", "ui.button" ], + css: [ "core", "button" ], js: [ - "ui/jquery.ui.core.js", - "ui/jquery.ui.widget.js", - "ui/jquery.ui.button.js" + "ui/core.js", + "ui/widget.js", + "ui/button.js" ] }); </script> diff --git a/tests/unit/core/core.html b/tests/unit/core/core.html index fd472d64a..33576c051 100644 --- a/tests/unit/core/core.html +++ b/tests/unit/core/core.html @@ -11,7 +11,7 @@ <script src="../testsuite.js"></script> <script> TestHelpers.loadResources({ - js: [ "ui/jquery.ui.core.js" ] + js: [ "ui/core.js" ] }); </script> diff --git a/tests/unit/core/core_deprecated.html b/tests/unit/core/core_deprecated.html index d9c41ca39..e29e55b2b 100644 --- a/tests/unit/core/core_deprecated.html +++ b/tests/unit/core/core_deprecated.html @@ -11,7 +11,7 @@ <script src="../testsuite.js"></script> <script> TestHelpers.loadResources({ - js: [ "ui/jquery.ui.core.js" ] + js: [ "ui/core.js" ] }); </script> diff --git a/tests/unit/datepicker/datepicker.html b/tests/unit/datepicker/datepicker.html index 8ef2de5a4..37f949ae6 100644 --- a/tests/unit/datepicker/datepicker.html +++ b/tests/unit/datepicker/datepicker.html @@ -11,13 +11,13 @@ <script src="../testsuite.js"></script> <script> TestHelpers.loadResources({ - css: [ "ui.core", "ui.datepicker" ], + css: [ "core", "datepicker" ], js: [ - "ui/jquery.ui.core.js", - "ui/jquery.ui.datepicker.js", - "ui/i18n/jquery.ui.datepicker-fr.js", - "ui/i18n/jquery.ui.datepicker-he.js", - "ui/i18n/jquery.ui.datepicker-zh-CN.js" + "ui/core.js", + "ui/datepicker.js", + "ui/i18n/datepicker-fr.js", + "ui/i18n/datepicker-he.js", + "ui/i18n/datepicker-zh-CN.js" ] }); </script> diff --git a/tests/unit/dialog/dialog.html b/tests/unit/dialog/dialog.html index d8506a1bd..27c51276e 100644 --- a/tests/unit/dialog/dialog.html +++ b/tests/unit/dialog/dialog.html @@ -14,20 +14,20 @@ <script src="../testsuite.js"></script> <script> TestHelpers.loadResources({ - css: [ "ui.core", "ui.dialog" ], + css: [ "core", "dialog" ], js: [ - "ui/jquery.ui.core.js", - "ui/jquery.ui.widget.js", - "ui/jquery.ui.position.js", - "ui/jquery.ui.mouse.js", - "ui/jquery.ui.draggable.js", - "ui/jquery.ui.resizable.js", - "ui/jquery.ui.button.js", - "ui/jquery.ui.effect.js", - "ui/jquery.ui.effect-blind.js", - "ui/jquery.ui.effect-clip.js", - "ui/jquery.ui.effect-explode.js", - "ui/jquery.ui.dialog.js" + "ui/core.js", + "ui/widget.js", + "ui/position.js", + "ui/mouse.js", + "ui/draggable.js", + "ui/resizable.js", + "ui/button.js", + "ui/effect.js", + "ui/effect-blind.js", + "ui/effect-clip.js", + "ui/effect-explode.js", + "ui/dialog.js" ] }); </script> diff --git a/tests/unit/draggable/draggable.html b/tests/unit/draggable/draggable.html index 42467d2d4..02977c6cc 100644 --- a/tests/unit/draggable/draggable.html +++ b/tests/unit/draggable/draggable.html @@ -53,14 +53,14 @@ <script src="../testsuite.js"></script> <script> TestHelpers.loadResources({ - css: [ "ui.core" ], + css: [ "core" ], js: [ - "ui/jquery.ui.core.js", - "ui/jquery.ui.widget.js", - "ui/jquery.ui.mouse.js", - "ui/jquery.ui.resizable.js", - "ui/jquery.ui.draggable.js", - "ui/jquery.ui.droppable.js" + "ui/core.js", + "ui/widget.js", + "ui/mouse.js", + "ui/resizable.js", + "ui/draggable.js", + "ui/droppable.js" ] }); </script> diff --git a/tests/unit/droppable/droppable.html b/tests/unit/droppable/droppable.html index d084464c2..9a3a4bd07 100644 --- a/tests/unit/droppable/droppable.html +++ b/tests/unit/droppable/droppable.html @@ -11,13 +11,13 @@ <script src="../testsuite.js"></script> <script> TestHelpers.loadResources({ - css: [ "ui.core" ], + css: [ "core" ], js: [ - "ui/jquery.ui.core.js", - "ui/jquery.ui.widget.js", - "ui/jquery.ui.mouse.js", - "ui/jquery.ui.draggable.js", - "ui/jquery.ui.droppable.js" + "ui/core.js", + "ui/widget.js", + "ui/mouse.js", + "ui/draggable.js", + "ui/droppable.js" ] }); </script> diff --git a/tests/unit/effects/effects.html b/tests/unit/effects/effects.html index f35393b89..c217ff13d 100644 --- a/tests/unit/effects/effects.html +++ b/tests/unit/effects/effects.html @@ -12,22 +12,22 @@ <script> TestHelpers.loadResources({ js: [ - "ui/jquery.ui.effect.js", - "ui/jquery.ui.effect-blind.js", - "ui/jquery.ui.effect-bounce.js", - "ui/jquery.ui.effect-clip.js", - "ui/jquery.ui.effect-drop.js", - "ui/jquery.ui.effect-explode.js", - "ui/jquery.ui.effect-fade.js", - "ui/jquery.ui.effect-fold.js", - "ui/jquery.ui.effect-highlight.js", - "ui/jquery.ui.effect-puff.js", - "ui/jquery.ui.effect-pulsate.js", - "ui/jquery.ui.effect-scale.js", - "ui/jquery.ui.effect-shake.js", - "ui/jquery.ui.effect-size.js", - "ui/jquery.ui.effect-slide.js", - "ui/jquery.ui.effect-transfer.js" + "ui/effect.js", + "ui/effect-blind.js", + "ui/effect-bounce.js", + "ui/effect-clip.js", + "ui/effect-drop.js", + "ui/effect-explode.js", + "ui/effect-fade.js", + "ui/effect-fold.js", + "ui/effect-highlight.js", + "ui/effect-puff.js", + "ui/effect-pulsate.js", + "ui/effect-scale.js", + "ui/effect-shake.js", + "ui/effect-size.js", + "ui/effect-slide.js", + "ui/effect-transfer.js" ] }); </script> diff --git a/tests/unit/index.html b/tests/unit/index.html index 83befbabc..371909163 100644 --- a/tests/unit/index.html +++ b/tests/unit/index.html @@ -4,8 +4,8 @@ <meta charset="utf-8"> <title>jQuery UI Unit Tests</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.core.css"> - <link rel="stylesheet" href="../../themes/base/jquery.ui.theme.css"> + <link rel="stylesheet" href="../../themes/base/core.css"> + <link rel="stylesheet" href="../../themes/base/theme.css"> <link rel="stylesheet" href="../index.css"> <script src="../jquery-1.10.2.js"></script> <script src="../index.js"></script> diff --git a/tests/unit/menu/menu.html b/tests/unit/menu/menu.html index 1d87f0a10..9df56a8d1 100644 --- a/tests/unit/menu/menu.html +++ b/tests/unit/menu/menu.html @@ -11,11 +11,11 @@ <script src="../testsuite.js"></script> <script> TestHelpers.loadResources({ - css: [ "ui.core", "ui.menu" ], + css: [ "core", "menu" ], js: [ - "ui/jquery.ui.core.js", - "ui/jquery.ui.widget.js", - "ui/jquery.ui.menu.js" + "ui/core.js", + "ui/widget.js", + "ui/menu.js" ] }); </script> diff --git a/tests/unit/position/position.html b/tests/unit/position/position.html index f3b1ad86c..8f6a5e503 100644 --- a/tests/unit/position/position.html +++ b/tests/unit/position/position.html @@ -11,7 +11,7 @@ <script src="../testsuite.js"></script> <script> TestHelpers.loadResources({ - js: [ "ui/jquery.ui.position.js" ] + js: [ "ui/position.js" ] }); </script> diff --git a/tests/unit/progressbar/progressbar.html b/tests/unit/progressbar/progressbar.html index 70a4abe56..818dd76e5 100644 --- a/tests/unit/progressbar/progressbar.html +++ b/tests/unit/progressbar/progressbar.html @@ -11,11 +11,11 @@ <script src="../testsuite.js"></script> <script> TestHelpers.loadResources({ - css: [ "ui.core", "ui.progressbar" ], + css: [ "core", "progressbar" ], js: [ - "ui/jquery.ui.core.js", - "ui/jquery.ui.widget.js", - "ui/jquery.ui.progressbar.js" + "ui/core.js", + "ui/widget.js", + "ui/progressbar.js" ] }); </script> diff --git a/tests/unit/resizable/resizable.html b/tests/unit/resizable/resizable.html index bfff528fa..c9223030f 100644 --- a/tests/unit/resizable/resizable.html +++ b/tests/unit/resizable/resizable.html @@ -11,12 +11,12 @@ <script src="../testsuite.js"></script> <script> TestHelpers.loadResources({ - css: [ "ui.core", "ui.resizable" ], + css: [ "core", "resizable" ], js: [ - "ui/jquery.ui.core.js", - "ui/jquery.ui.widget.js", - "ui/jquery.ui.mouse.js", - "ui/jquery.ui.resizable.js" + "ui/core.js", + "ui/widget.js", + "ui/mouse.js", + "ui/resizable.js" ] }); </script> diff --git a/tests/unit/selectable/selectable.html b/tests/unit/selectable/selectable.html index 18ffc6ef7..989cece7e 100644 --- a/tests/unit/selectable/selectable.html +++ b/tests/unit/selectable/selectable.html @@ -11,12 +11,12 @@ <script src="../testsuite.js"></script> <script> TestHelpers.loadResources({ - css: [ "ui.core", "ui.selectable" ], + css: [ "core", "selectable" ], js: [ - "ui/jquery.ui.core.js", - "ui/jquery.ui.widget.js", - "ui/jquery.ui.mouse.js", - "ui/jquery.ui.selectable.js" + "ui/core.js", + "ui/widget.js", + "ui/mouse.js", + "ui/selectable.js" ] }); </script> diff --git a/tests/unit/selectmenu/selectmenu.html b/tests/unit/selectmenu/selectmenu.html index 584a47b53..401422156 100644 --- a/tests/unit/selectmenu/selectmenu.html +++ b/tests/unit/selectmenu/selectmenu.html @@ -11,13 +11,13 @@ <script src="../testsuite.js"></script> <script> TestHelpers.loadResources({ - css: [ "ui.core", "ui.menu" , "ui.selectmenu" ], + css: [ "core", "menu" , "selectmenu" ], js: [ - "ui/jquery.ui.core.js", - "ui/jquery.ui.widget.js", - "ui/jquery.ui.position.js", - "ui/jquery.ui.menu.js", - "ui/jquery.ui.selectmenu.js" + "ui/core.js", + "ui/widget.js", + "ui/position.js", + "ui/menu.js", + "ui/selectmenu.js" ] }); </script> diff --git a/tests/unit/slider/slider.html b/tests/unit/slider/slider.html index 98adfa3ae..eb3c5c4d0 100644 --- a/tests/unit/slider/slider.html +++ b/tests/unit/slider/slider.html @@ -11,12 +11,12 @@ <script src="../testsuite.js"></script> <script> TestHelpers.loadResources({ - css: [ "ui.core", "ui.slider" ], + css: [ "core", "slider" ], js: [ - "ui/jquery.ui.core.js", - "ui/jquery.ui.widget.js", - "ui/jquery.ui.mouse.js", - "ui/jquery.ui.slider.js" + "ui/core.js", + "ui/widget.js", + "ui/mouse.js", + "ui/slider.js" ] }); </script> diff --git a/tests/unit/sortable/sortable.html b/tests/unit/sortable/sortable.html index b03c786e1..ac1c037dd 100644 --- a/tests/unit/sortable/sortable.html +++ b/tests/unit/sortable/sortable.html @@ -11,12 +11,12 @@ <script src="../testsuite.js"></script> <script> TestHelpers.loadResources({ - css: [ "ui.core" ], + css: [ "core" ], js: [ - "ui/jquery.ui.core.js", - "ui/jquery.ui.widget.js", - "ui/jquery.ui.mouse.js", - "ui/jquery.ui.sortable.js" + "ui/core.js", + "ui/widget.js", + "ui/mouse.js", + "ui/sortable.js" ] }); </script> diff --git a/tests/unit/spinner/spinner.html b/tests/unit/spinner/spinner.html index 1d09bbc38..1c9b28e45 100644 --- a/tests/unit/spinner/spinner.html +++ b/tests/unit/spinner/spinner.html @@ -14,12 +14,12 @@ <script src="../testsuite.js"></script> <script> TestHelpers.loadResources({ - css: [ "ui.core", "ui.button", "ui.spinner" ], + css: [ "core", "button", "spinner" ], js: [ - "ui/jquery.ui.core.js", - "ui/jquery.ui.widget.js", - "ui/jquery.ui.button.js", - "ui/jquery.ui.spinner.js" + "ui/core.js", + "ui/widget.js", + "ui/button.js", + "ui/spinner.js" ] }); </script> diff --git a/tests/unit/tabs/tabs.html b/tests/unit/tabs/tabs.html index 7c7982303..48f661af9 100644 --- a/tests/unit/tabs/tabs.html +++ b/tests/unit/tabs/tabs.html @@ -11,11 +11,11 @@ <script src="../testsuite.js"></script> <script> TestHelpers.loadResources({ - css: [ "ui.core", "ui.tabs" ], + css: [ "core", "tabs" ], js: [ - "ui/jquery.ui.core.js", - "ui/jquery.ui.widget.js", - "ui/jquery.ui.tabs.js" + "ui/core.js", + "ui/widget.js", + "ui/tabs.js" ] }); </script> diff --git a/tests/unit/testsuite.js b/tests/unit/testsuite.js index e15d57a91..1ccd4099d 100644 --- a/tests/unit/testsuite.js +++ b/tests/unit/testsuite.js @@ -44,7 +44,7 @@ TestHelpers.loadResources = QUnit.urlParams.min ? } : function( resources ) { $.each( resources.css || [], function( i, resource ) { - includeStyle( "themes/base/jquery." + resource + ".css" ); + includeStyle( "themes/base/" + resource + ".css" ); }); $.each( resources.js || [], function( i, resource ) { includeScript( resource ); @@ -79,7 +79,7 @@ TestHelpers.testJshint = function( module ) { dataType: "json" }), $.ajax({ - url: url("../../../ui/jquery.ui." + module + ".js"), + url: url("../../../ui/" + module + ".js"), dataType: "text" }) ).done(function( hintArgs, srcArgs ) { diff --git a/tests/unit/tooltip/tooltip.html b/tests/unit/tooltip/tooltip.html index ec616be13..0af412e5c 100644 --- a/tests/unit/tooltip/tooltip.html +++ b/tests/unit/tooltip/tooltip.html @@ -11,12 +11,12 @@ <script src="../testsuite.js"></script> <script> TestHelpers.loadResources({ - css: [ "ui.core", "ui.tooltip" ], + css: [ "core", "tooltip" ], js: [ - "ui/jquery.ui.core.js", - "ui/jquery.ui.widget.js", - "ui/jquery.ui.position.js", - "ui/jquery.ui.tooltip.js" + "ui/core.js", + "ui/widget.js", + "ui/position.js", + "ui/tooltip.js" ] }); </script> diff --git a/tests/unit/widget/widget.html b/tests/unit/widget/widget.html index 15eaee6aa..17c8e4977 100644 --- a/tests/unit/widget/widget.html +++ b/tests/unit/widget/widget.html @@ -11,9 +11,9 @@ <script src="../testsuite.js"></script> <script> TestHelpers.loadResources({ - css: [ "ui.core" ], + css: [ "core" ], js: [ - "ui/jquery.ui.widget.js" + "ui/widget.js" ] }); </script> |