aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-07-16 08:53:34 -0400
committerScott González <scott.gonzalez@gmail.com>2012-07-16 08:53:34 -0400
commit58a199370ed33e71257e863897e29c36fc593316 (patch)
tree790c1e274c5aa2f63c504477838fe721effa8a27
parentac44afe4e864aec8e420d7f9ba806be45be1e833 (diff)
downloadjquery-ui-58a199370ed33e71257e863897e29c36fc593316.tar.gz
jquery-ui-58a199370ed33e71257e863897e29c36fc593316.zip
Manifest: Move interactions to their own file.
-rw-r--r--build/interaction.json36
-rw-r--r--build/tasks/build.js5
-rw-r--r--build/widget.json38
3 files changed, 41 insertions, 38 deletions
diff --git a/build/interaction.json b/build/interaction.json
new file mode 100644
index 000000000..d964c4ac3
--- /dev/null
+++ b/build/interaction.json
@@ -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
diff --git a/build/tasks/build.js b/build/tasks/build.js
index 1e1795230..cc663309b 100644
--- a/build/tasks/build.js
+++ b/build/tasks/build.js
@@ -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",
diff --git a/build/widget.json b/build/widget.json
index 12993e828..6adddb121 100644
--- a/build/widget.json
+++ b/build/widget.json
@@ -37,22 +37,6 @@
"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.",
@@ -77,20 +61,6 @@
"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.",
@@ -100,14 +70,6 @@
"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.",