From 45744efd268137216d71c38774821fd7a01d3c34 Mon Sep 17 00:00:00 2001 From: Rafael Xavier de Souza Date: Tue, 15 Apr 2014 11:45:46 -0300 Subject: [PATCH] All: Add css-dependency-comments based on jQuery Mobile Ref gh-1029 Ref jquery/download.jqueryui.com#178 Closes gh-1440 --- ui/accordion.js | 3 +++ ui/autocomplete.js | 3 +++ ui/button.js | 3 +++ ui/datepicker.js | 3 +++ ui/dialog.js | 3 +++ ui/draggable.js | 1 + ui/menu.js | 3 +++ ui/progressbar.js | 3 +++ ui/resizable.js | 3 +++ ui/selectable.js | 1 + ui/selectmenu.js | 3 +++ ui/slider.js | 3 +++ ui/sortable.js | 1 + ui/spinner.js | 3 +++ ui/tabs.js | 3 +++ ui/tooltip.js | 3 +++ 16 files changed, 42 insertions(+) diff --git a/ui/accordion.js b/ui/accordion.js index e904df2be..cf53e9839 100644 --- a/ui/accordion.js +++ b/ui/accordion.js @@ -12,6 +12,9 @@ //>>description: Displays collapsible content panels for presenting information in a limited amount of space. //>>docs: http://api.jqueryui.com/accordion/ //>>demos: http://jqueryui.com/accordion/ +//>>css.structure: ../themes/base/core.css +//>>css.structure: ../themes/base/accordion.css +//>>css.theme: ../themes/base/theme.css (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/autocomplete.js b/ui/autocomplete.js index d8db9a442..60d69307e 100644 --- a/ui/autocomplete.js +++ b/ui/autocomplete.js @@ -12,6 +12,9 @@ //>>description: Lists suggested words as the user is typing. //>>docs: http://api.jqueryui.com/autocomplete/ //>>demos: http://jqueryui.com/autocomplete/ +//>>css.structure: ../themes/base/core.css +//>>css.structure: ../themes/base/autocomplete.css +//>>css.theme: ../themes/base/theme.css (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/button.js b/ui/button.js index a3a40b46d..4d197819a 100644 --- a/ui/button.js +++ b/ui/button.js @@ -12,6 +12,9 @@ //>>description: Enhances a form with themeable buttons. //>>docs: http://api.jqueryui.com/button/ //>>demos: http://jqueryui.com/button/ +//>>css.structure: ../themes/base/core.css +//>>css.structure: ../themes/base/button.css +//>>css.theme: ../themes/base/theme.css (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/datepicker.js b/ui/datepicker.js index 4f2ab38ef..5be0c6f0f 100644 --- a/ui/datepicker.js +++ b/ui/datepicker.js @@ -12,6 +12,9 @@ //>>description: Displays a calendar from an input or inline for selecting dates. //>>docs: http://api.jqueryui.com/datepicker/ //>>demos: http://jqueryui.com/datepicker/ +//>>css.structure: ../themes/base/core.css +//>>css.structure: ../themes/base/datepicker.css +//>>css.theme: ../themes/base/theme.css (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/dialog.js b/ui/dialog.js index 150449b41..0775fbe8d 100644 --- a/ui/dialog.js +++ b/ui/dialog.js @@ -12,6 +12,9 @@ //>>description: Displays customizable dialog windows. //>>docs: http://api.jqueryui.com/dialog/ //>>demos: http://jqueryui.com/dialog/ +//>>css.structure: ../themes/base/core.css +//>>css.structure: ../themes/base/dialog.css +//>>css.theme: ../themes/base/theme.css (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/draggable.js b/ui/draggable.js index 3bdcf92a0..c57a3517c 100644 --- a/ui/draggable.js +++ b/ui/draggable.js @@ -12,6 +12,7 @@ //>>description: Enables dragging functionality for any element. //>>docs: http://api.jqueryui.com/draggable/ //>>demos: http://jqueryui.com/draggable/ +//>>css.structure: ../themes/base/draggable.css (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/menu.js b/ui/menu.js index bf698c9f9..353368cf9 100644 --- a/ui/menu.js +++ b/ui/menu.js @@ -12,6 +12,9 @@ //>>description: Creates nestable menus. //>>docs: http://api.jqueryui.com/menu/ //>>demos: http://jqueryui.com/menu/ +//>>css.structure: ../themes/base/core.css +//>>css.structure: ../themes/base/menu.css +//>>css.theme: ../themes/base/theme.css (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/progressbar.js b/ui/progressbar.js index d417e556b..28912d975 100644 --- a/ui/progressbar.js +++ b/ui/progressbar.js @@ -12,6 +12,9 @@ //>>description: Displays a status indicator for loading state, standard percentage, and other progress indicators. //>>docs: http://api.jqueryui.com/progressbar/ //>>demos: http://jqueryui.com/progressbar/ +//>>css.structure: ../themes/base/core.css +//>>css.structure: ../themes/base/progressbar.css +//>>css.theme: ../themes/base/theme.css (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/resizable.js b/ui/resizable.js index c167508b3..d0d500cd1 100644 --- a/ui/resizable.js +++ b/ui/resizable.js @@ -12,6 +12,9 @@ //>>description: Enables resize functionality for any element. //>>docs: http://api.jqueryui.com/resizable/ //>>demos: http://jqueryui.com/resizable/ +//>>css.structure: ../themes/base/core.css +//>>css.structure: ../themes/base/resizable.css +//>>css.theme: ../themes/base/theme.css (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/selectable.js b/ui/selectable.js index e53f3f985..9c8815fb6 100644 --- a/ui/selectable.js +++ b/ui/selectable.js @@ -12,6 +12,7 @@ //>>description: Allows groups of elements to be selected with the mouse. //>>docs: http://api.jqueryui.com/selectable/ //>>demos: http://jqueryui.com/selectable/ +//>>css.structure: ../themes/base/selectable.css (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/selectmenu.js b/ui/selectmenu.js index 55da2b552..68cbbbfbf 100644 --- a/ui/selectmenu.js +++ b/ui/selectmenu.js @@ -12,6 +12,9 @@ //>>description: Duplicates and extends the functionality of a native HTML select element, allowing it to be customizable in behavior and appearance far beyond the limitations of a native select. //>>docs: http://api.jqueryui.com/selectmenu/ //>>demos: http://jqueryui.com/selectmenu/ +//>>css.structure: ../themes/base/core.css +//>>css.structure: ../themes/base/selectmenu.css +//>>css.theme: ../themes/base/theme.css (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/slider.js b/ui/slider.js index 33eb55b3e..4af7dc34f 100644 --- a/ui/slider.js +++ b/ui/slider.js @@ -12,6 +12,9 @@ //>>description: Displays a flexible slider with ranges and accessibility via keyboard. //>>docs: http://api.jqueryui.com/slider/ //>>demos: http://jqueryui.com/slider/ +//>>css.structure: ../themes/base/core.css +//>>css.structure: ../themes/base/slider.css +//>>css.theme: ../themes/base/theme.css (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/sortable.js b/ui/sortable.js index 6273109c6..f41afa5bf 100644 --- a/ui/sortable.js +++ b/ui/sortable.js @@ -12,6 +12,7 @@ //>>description: Enables items in a list to be sorted using the mouse. //>>docs: http://api.jqueryui.com/sortable/ //>>demos: http://jqueryui.com/sortable/ +//>>css.structure: ../themes/base/sortable.css (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/spinner.js b/ui/spinner.js index c4bac1917..1d3212add 100644 --- a/ui/spinner.js +++ b/ui/spinner.js @@ -12,6 +12,9 @@ //>>description: Displays buttons to easily input numbers via the keyboard or mouse. //>>docs: http://api.jqueryui.com/spinner/ //>>demos: http://jqueryui.com/spinner/ +//>>css.structure: ../themes/base/core.css +//>>css.structure: ../themes/base/spinner.css +//>>css.theme: ../themes/base/theme.css (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/tabs.js b/ui/tabs.js index 8e5f0e58d..6d826b14a 100644 --- a/ui/tabs.js +++ b/ui/tabs.js @@ -12,6 +12,9 @@ //>>description: Transforms a set of container elements into a tab structure. //>>docs: http://api.jqueryui.com/tabs/ //>>demos: http://jqueryui.com/tabs/ +//>>css.structure: ../themes/base/core.css +//>>css.structure: ../themes/base/tabs.css +//>>css.theme: ../themes/base/theme.css (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/tooltip.js b/ui/tooltip.js index 9e4c3453e..2c28cc073 100644 --- a/ui/tooltip.js +++ b/ui/tooltip.js @@ -12,6 +12,9 @@ //>>description: Shows additional information for any element on hover or focus. //>>docs: http://api.jqueryui.com/tooltip/ //>>demos: http://jqueryui.com/tooltip/ +//>>css.structure: ../themes/base/core.css +//>>css.structure: ../themes/base/tooltip.css +//>>css.theme: ../themes/base/theme.css (function( factory ) { if ( typeof define === "function" && define.amd ) { -- 2.39.5