aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--demos/bootstrap.js3
-rw-r--r--tests/unit/button/common.js2
-rw-r--r--tests/unit/button/core.js2
-rw-r--r--tests/unit/button/events.js2
-rw-r--r--tests/unit/button/methods.js2
-rw-r--r--tests/unit/button/options.js2
-rw-r--r--ui/dialog.js2
-rw-r--r--ui/spinner.js2
-rw-r--r--ui/widgets/button.js (renamed from ui/button.js)10
9 files changed, 14 insertions, 13 deletions
diff --git a/demos/bootstrap.js b/demos/bootstrap.js
index 71d2e4ef3..a2ce072ea 100644
--- a/demos/bootstrap.js
+++ b/demos/bootstrap.js
@@ -26,7 +26,8 @@ var effectsAll = [
];
var widgets = [
"accordion",
- "autocomplete"
+ "autocomplete",
+ "button"
];
function getPath( module ) {
diff --git a/tests/unit/button/common.js b/tests/unit/button/common.js
index d376f4f05..0372cddbf 100644
--- a/tests/unit/button/common.js
+++ b/tests/unit/button/common.js
@@ -1,6 +1,6 @@
define( [
"lib/common",
- "ui/button"
+ "ui/widgets/button"
], function( common ) {
common.testWidget( "button", {
diff --git a/tests/unit/button/core.js b/tests/unit/button/core.js
index 8539464ba..f3ae2e583 100644
--- a/tests/unit/button/core.js
+++ b/tests/unit/button/core.js
@@ -1,6 +1,6 @@
define( [
"jquery",
- "ui/button"
+ "ui/widgets/button"
], function( $ ) {
module("button: core");
diff --git a/tests/unit/button/events.js b/tests/unit/button/events.js
index 63550e2f8..d778b4a2b 100644
--- a/tests/unit/button/events.js
+++ b/tests/unit/button/events.js
@@ -1,6 +1,6 @@
define( [
"jquery",
- "ui/button"
+ "ui/widgets/button"
], function( $ ) {
module("button: events");
diff --git a/tests/unit/button/methods.js b/tests/unit/button/methods.js
index be36096b2..29e917022 100644
--- a/tests/unit/button/methods.js
+++ b/tests/unit/button/methods.js
@@ -1,6 +1,6 @@
define( [
"jquery",
- "ui/button"
+ "ui/widgets/button"
], function( $ ) {
module("button: methods");
diff --git a/tests/unit/button/options.js b/tests/unit/button/options.js
index 23020fc10..ad4169e14 100644
--- a/tests/unit/button/options.js
+++ b/tests/unit/button/options.js
@@ -1,6 +1,6 @@
define( [
"jquery",
- "ui/button"
+ "ui/widgets/button"
], function( $ ) {
module( "button: options" );
diff --git a/ui/dialog.js b/ui/dialog.js
index 2b1e71dbb..dc6632973 100644
--- a/ui/dialog.js
+++ b/ui/dialog.js
@@ -26,7 +26,7 @@
"./version",
"./keycode",
"./widget",
- "./button",
+ "./widgets/button",
"./draggable",
"./focusable",
"./mouse",
diff --git a/ui/spinner.js b/ui/spinner.js
index 241dcaa51..b8e6f88a0 100644
--- a/ui/spinner.js
+++ b/ui/spinner.js
@@ -26,7 +26,7 @@
"./keycode",
"./safe-active-element",
"./widget",
- "./button"
+ "./widgets/button"
], factory );
} else {
diff --git a/ui/button.js b/ui/widgets/button.js
index bc391810f..f5509b520 100644
--- a/ui/button.js
+++ b/ui/widgets/button.js
@@ -22,11 +22,11 @@
// AMD. Register as an anonymous module.
define([
"jquery",
- "./data",
- "./keycode",
- "./labels",
- "./version",
- "./widget"
+ "../data",
+ "../keycode",
+ "../labels",
+ "../version",
+ "../widget"
], factory );
} else {