From 4c6b1463ea2be3e44f85bd13ef9780229ec0f2d4 Mon Sep 17 00:00:00 2001 From: Alexander Schmitz Date: Tue, 14 Jul 2015 21:56:36 -0400 Subject: [PATCH] Autocomplete: Move autocomplete into widgets folder Ref #13885 --- demos/bootstrap.js | 3 ++- tests/unit/autocomplete/common.js | 2 +- tests/unit/autocomplete/core.js | 2 +- tests/unit/autocomplete/events.js | 2 +- tests/unit/autocomplete/methods.js | 2 +- tests/unit/autocomplete/options.js | 2 +- ui/{ => widgets}/autocomplete.js | 13 ++++++------- 7 files changed, 13 insertions(+), 13 deletions(-) rename ui/{ => widgets}/autocomplete.js (99%) diff --git a/demos/bootstrap.js b/demos/bootstrap.js index af9aee130..71d2e4ef3 100644 --- a/demos/bootstrap.js +++ b/demos/bootstrap.js @@ -25,7 +25,8 @@ var effectsAll = [ "effect-slide" ]; var widgets = [ - "accordion" + "accordion", + "autocomplete" ]; function getPath( module ) { diff --git a/tests/unit/autocomplete/common.js b/tests/unit/autocomplete/common.js index 5ee7cdda0..94e98048d 100644 --- a/tests/unit/autocomplete/common.js +++ b/tests/unit/autocomplete/common.js @@ -1,6 +1,6 @@ define( [ "lib/common", - "ui/autocomplete" + "ui/widgets/autocomplete" ], function( common ) { common.testWidget( "autocomplete", { diff --git a/tests/unit/autocomplete/core.js b/tests/unit/autocomplete/core.js index 184bcdbf4..d57f2a980 100644 --- a/tests/unit/autocomplete/core.js +++ b/tests/unit/autocomplete/core.js @@ -1,6 +1,6 @@ define( [ "jquery", - "ui/autocomplete" + "ui/widgets/autocomplete" ], function( $ ) { module( "autocomplete: core" ); diff --git a/tests/unit/autocomplete/events.js b/tests/unit/autocomplete/events.js index 8f96fb77f..59d5dd540 100644 --- a/tests/unit/autocomplete/events.js +++ b/tests/unit/autocomplete/events.js @@ -1,6 +1,6 @@ define( [ "jquery", - "ui/autocomplete" + "ui/widgets/autocomplete" ], function( $ ) { module( "autocomplete: events" ); diff --git a/tests/unit/autocomplete/methods.js b/tests/unit/autocomplete/methods.js index 32080207a..f614c13cd 100644 --- a/tests/unit/autocomplete/methods.js +++ b/tests/unit/autocomplete/methods.js @@ -1,6 +1,6 @@ define( [ "jquery", - "ui/autocomplete" + "ui/widgets/autocomplete" ], function( $ ) { module( "autocomplete: methods" ); diff --git a/tests/unit/autocomplete/options.js b/tests/unit/autocomplete/options.js index 06c75722b..7d281fb31 100644 --- a/tests/unit/autocomplete/options.js +++ b/tests/unit/autocomplete/options.js @@ -1,6 +1,6 @@ define( [ "jquery", - "ui/autocomplete" + "ui/widgets/autocomplete" ], function( $ ) { module( "autocomplete: options" ); diff --git a/ui/autocomplete.js b/ui/widgets/autocomplete.js similarity index 99% rename from ui/autocomplete.js rename to ui/widgets/autocomplete.js index cf95b233a..b91d6f113 100644 --- a/ui/autocomplete.js +++ b/ui/widgets/autocomplete.js @@ -22,13 +22,12 @@ // AMD. Register as an anonymous module. define( [ "jquery", - "./core", - "./version", - "./keycode", - "./widget", - "./position", - "./menu", - "./safe-active-element" + "../menu", + "../keycode", + "../position", + "../safe-active-element", + "../version", + "../widget" ], factory ); } else { -- 2.39.5