]> source.dussan.org Git - jquery-ui.git/commitdiff
Manifest: Move interactions to their own file.
authorScott González <scott.gonzalez@gmail.com>
Mon, 16 Jul 2012 12:53:34 +0000 (08:53 -0400)
committerScott González <scott.gonzalez@gmail.com>
Mon, 16 Jul 2012 12:53:34 +0000 (08:53 -0400)
build/interaction.json [new file with mode: 0644]
build/tasks/build.js
build/widget.json

diff --git a/build/interaction.json b/build/interaction.json
new file mode 100644 (file)
index 0000000..d964c4a
--- /dev/null
@@ -0,0 +1,36 @@
+{
+       "draggable": {
+               "description": "Enables dragging functionality for any element.",
+               "keywords": [
+                       "drag",
+                       "drop"
+               ]
+       },
+       "droppable": {
+               "dependencies": [ "draggable" ],
+               "description": "Enables drop targets for draggable elements.",
+               "keywords": [
+                       "drag",
+                       "drop"
+               ]
+       },
+       "resizable": {
+               "description": "Enables resize functionality for any element.",
+               "keywords": [
+                       "resize"
+               ]
+       },
+       "selectable": {
+               "description": "Allows groups of elements to be selected with the mouse.",
+               "keywords": [
+                       "selection"
+               ]
+       },
+       "sortable": {
+               "description": "Enables items in a list to be sorted using the mouse.",
+               "keywords": [
+                       "sort",
+                       "list"
+               ]
+       }
+}
\ No newline at end of file
index 1e1795230f00c384d2834352fa0f55a3201a9628..cc663309b90f3a3269711282d5529d8f8c4ae754 100644 (file)
@@ -15,6 +15,11 @@ grunt.registerTask( "manifest", "Generate jquery.json manifest files", function(
                                title: "jQuery UI {Plugin}",
                                dependencies: [ "core", "widget" ]
                        },
+                       interaction: {
+                               name: "ui.{plugin}",
+                               title: "jQuery UI {Plugin}",
+                               dependencies: [ "core", "widget", "mouse" ]
+                       },
                        effect: {
                                name: "ui.effect-{plugin}",
                                title: "jQuery UI {Plugin} Effect",
index 12993e8289e60726df4b15fd02450b604a4b6e3f..6adddb121f554a80bc2281b6e9e2f825071a3430 100644 (file)
                        "popup"
                ]
        },
-       "draggable": {
-               "dependencies": [ "mouse" ],
-               "description": "Enables dragging functionality for any element.",
-               "keywords": [
-                       "drag",
-                       "drop"
-               ]
-       },
-       "droppable": {
-               "dependencies": [ "draggable", "mouse" ],
-               "description": "Enables drop targets for draggable elements.",
-               "keywords": [
-                       "drag",
-                       "drop"
-               ]
-       },
        "menu": {
                "dependencies": [ "position" ],
                "description": "Creates nestable menus.",
                        "status"
                ]
        },
-       "resizable": {
-               "dependencies": [ "mouse" ],
-               "description": "Enables resize functionality for any element.",
-               "keywords": [
-                       "resize"
-               ]
-       },
-       "selectable": {
-               "dependencies": [ "mouse" ],
-               "description": "Allows groups of elements to be selected with the mouse.",
-               "keywords": [
-                       "selection"
-               ]
-       },
        "slider": {
                "dependencies": [ "mouse" ],
                "description": "Displays a flexible slider with ranges and accessibility via keyboard.",
                        "range"
                ]
        },
-       "sortable": {
-               "dependencies": [ "mouse" ],
-               "description": "Enables items in a list to be sorted using the mouse.",
-               "keywords": [
-                       "sort",
-                       "list"
-               ]
-       },
        "spinner": {
                "dependencies": [ "button" ],
                "description": "Displays buttons to easily input numbers via the keyboard or mouse.",