Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Manifest: Move interactions to their own file.

  • Loading branch information...
commit 58a199370ed33e71257e863897e29c36fc593316 1 parent ac44afe
@scottgonzalez scottgonzalez authored
Showing with 41 additions and 38 deletions.
  1. +36 −0 build/interaction.json
  2. +5 −0 build/tasks/build.js
  3. +0 −38 build/widget.json
View
36 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"
+ ]
+ }
+}
View
5 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",
View
38 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.",
Please sign in to comment.
Something went wrong with that request. Please try again.