Index: branches/resourceloader/phase3/resources/Resources.php |
— | — | @@ -28,11 +28,11 @@ |
29 | 29 | ), |
30 | 30 | 'jquery.ui.mouse' => array( |
31 | 31 | 'script' => 'resources/jquery/ui/jquery.ui.mouse.js', |
32 | | - 'needs' => array( 'jquery.ui.core' ), |
| 32 | + 'needs' => array( 'jquery' ), |
33 | 33 | ), |
34 | 34 | 'jquery.ui.position' => array( |
35 | 35 | 'script' => 'resources/jquery/ui/jquery.ui.position.js', |
36 | | - 'needs' => array( 'jquery.ui.core' ), |
| 36 | + 'needs' => array( 'jquery' ), |
37 | 37 | ), |
38 | 38 | // Interactions |
39 | 39 | 'jquery.ui.draggable' => array( |
— | — | @@ -41,7 +41,7 @@ |
42 | 42 | ), |
43 | 43 | 'jquery.ui.droppable' => array( |
44 | 44 | 'script' => 'resources/jquery/ui/jquery.ui.droppable.js', |
45 | | - 'needs' => array( 'jquery.ui.core' ), |
| 45 | + 'needs' => array( 'jquery.ui.core', 'jquery.ui.draggable' ), |
46 | 46 | ), |
47 | 47 | 'jquery.ui.resizable' => array( |
48 | 48 | 'script' => 'resources/jquery/ui/jquery.ui.resizable.js', |
— | — | @@ -66,7 +66,7 @@ |
67 | 67 | // Widgets |
68 | 68 | 'jquery.ui.accordion' => array( |
69 | 69 | 'script' => 'resources/jquery/ui/jquery.ui.accordion.js', |
70 | | - 'needs' => array( 'jquery.ui.widget' ), |
| 70 | + 'needs' => array( 'jquery.ui.core' ), |
71 | 71 | 'themes' => array( |
72 | 72 | 'default' => 'resources/jquery/ui/themes/default/jquery.ui.accordion.css', |
73 | 73 | 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.accordion.css', |
— | — | @@ -74,7 +74,7 @@ |
75 | 75 | ), |
76 | 76 | 'jquery.ui.autocomplete' => array( |
77 | 77 | 'script' => 'resources/jquery/ui/jquery.ui.autocomplete.js', |
78 | | - 'needs' => array( 'jquery.ui.widget' ), |
| 78 | + 'needs' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.position' ), |
79 | 79 | 'themes' => array( |
80 | 80 | 'default' => 'resources/jquery/ui/themes/default/jquery.ui.autocomplete.css', |
81 | 81 | 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.autocomplete.css', |
— | — | @@ -82,39 +82,15 @@ |
83 | 83 | ), |
84 | 84 | 'jquery.ui.button' => array( |
85 | 85 | 'script' => 'resources/jquery/ui/jquery.ui.button.js', |
86 | | - 'needs' => array( 'jquery.ui.widget' ), |
| 86 | + 'needs' => array( 'jquery.ui.core', 'jquery.ui.widget' ), |
87 | 87 | 'themes' => array( |
88 | 88 | 'default' => 'resources/jquery/ui/themes/default/jquery.ui.button.css', |
89 | 89 | 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.button.css', |
90 | 90 | ), |
91 | 91 | ), |
92 | | - 'jquery.ui.dialog' => array( |
93 | | - 'script' => 'resources/jquery/ui/jquery.ui.dialog.js', |
94 | | - 'needs' => array( 'jquery.ui.widget' ), |
95 | | - 'themes' => array( |
96 | | - 'default' => 'resources/jquery/ui/themes/default/jquery.ui.dialog.css', |
97 | | - 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.dialog.css', |
98 | | - ), |
99 | | - ), |
100 | | - 'jquery.ui.slider' => array( |
101 | | - 'script' => 'resources/jquery/ui/jquery.ui.slider.js', |
102 | | - 'needs' => array( 'jquery.ui.widget' ), |
103 | | - 'themes' => array( |
104 | | - 'default' => 'resources/jquery/ui/themes/default/jquery.ui.slider.css', |
105 | | - 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.slider.css', |
106 | | - ), |
107 | | - ), |
108 | | - 'jquery.ui.tabs' => array( |
109 | | - 'script' => 'resources/jquery/ui/jquery.ui.tabs.js', |
110 | | - 'needs' => array( 'jquery.ui.widget' ), |
111 | | - 'themes' => array( |
112 | | - 'default' => 'resources/jquery/ui/themes/default/jquery.ui.tabs.css', |
113 | | - 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.tabs.css', |
114 | | - ), |
115 | | - ), |
116 | 92 | 'jquery.ui.datepicker' => array( |
117 | 93 | 'script' => 'resources/jquery/ui/jquery.ui.datepicker.js', |
118 | | - 'needs' => array( 'jquery.ui.widget' ), |
| 94 | + 'needs' => array( 'jquery.ui.core' ), |
119 | 95 | 'themes' => array( |
120 | 96 | 'default' => 'resources/jquery/ui/themes/default/jquery.ui.datepicker.css', |
121 | 97 | 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.datepicker.css', |
— | — | @@ -174,14 +150,38 @@ |
175 | 151 | 'zh-tw' => 'resources/jquery/ui/i18n/jquery.ui.datepicker-zh-TW.js' |
176 | 152 | ), |
177 | 153 | ), |
| 154 | + 'jquery.ui.dialog' => array( |
| 155 | + 'script' => 'resources/jquery/ui/jquery.ui.dialog.js', |
| 156 | + 'needs' => array( 'jquery.ui.core' ), |
| 157 | + 'themes' => array( |
| 158 | + 'default' => 'resources/jquery/ui/themes/default/jquery.ui.dialog.css', |
| 159 | + 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.dialog.css', |
| 160 | + ), |
| 161 | + ), |
178 | 162 | 'jquery.ui.progressbar' => array( |
179 | 163 | 'script' => 'resources/jquery/ui/jquery.ui.progressbar.js', |
180 | | - 'needs' => array( 'jquery.ui.widget' ), |
| 164 | + 'needs' => array( 'jquery.ui.core' ), |
181 | 165 | 'themes' => array( |
182 | 166 | 'default' => 'resources/jquery/ui/themes/default/jquery.ui.progressbar.css', |
183 | 167 | 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.progressbar.css', |
184 | 168 | ), |
185 | 169 | ), |
| 170 | + 'jquery.ui.slider' => array( |
| 171 | + 'script' => 'resources/jquery/ui/jquery.ui.slider.js', |
| 172 | + 'needs' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ), |
| 173 | + 'themes' => array( |
| 174 | + 'default' => 'resources/jquery/ui/themes/default/jquery.ui.slider.css', |
| 175 | + 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.slider.css', |
| 176 | + ), |
| 177 | + ), |
| 178 | + 'jquery.ui.tabs' => array( |
| 179 | + 'script' => 'resources/jquery/ui/jquery.ui.tabs.js', |
| 180 | + 'needs' => array( 'jquery.ui.core' ), |
| 181 | + 'themes' => array( |
| 182 | + 'default' => 'resources/jquery/ui/themes/default/jquery.ui.tabs.css', |
| 183 | + 'vector' => 'resources/jquery/ui/themes/vector/jquery.ui.tabs.css', |
| 184 | + ), |
| 185 | + ), |
186 | 186 | // Effects |
187 | 187 | 'jquery.effects.core' => array( |
188 | 188 | 'script' => 'resources/jquery/effects/jquery.effects.core.js', |