From b5f1ffdea4c3c4b41936e56d4cb23ca8acb2aaa8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Thu, 30 Oct 2014 15:55:08 -0400 Subject: [PATCH] Build: Remove manifest files; move metadata to source files Closes gh-1379 --- build/core.json | 68 -------------------------- build/effect.json | 46 ------------------ build/interaction.json | 36 -------------- build/release.js | 11 ++--- build/tasks/build.js | 92 ----------------------------------- build/widget.json | 106 ----------------------------------------- ui/accordion.js | 9 +++- ui/autocomplete.js | 9 +++- ui/button.js | 9 +++- ui/core.js | 8 +++- ui/datepicker.js | 9 +++- ui/dialog.js | 9 +++- ui/draggable.js | 9 +++- ui/droppable.js | 9 +++- ui/effect-blind.js | 9 +++- ui/effect-bounce.js | 9 +++- ui/effect-clip.js | 9 +++- ui/effect-drop.js | 9 +++- ui/effect-explode.js | 9 +++- ui/effect-fade.js | 9 +++- ui/effect-fold.js | 9 +++- ui/effect-highlight.js | 9 +++- ui/effect-puff.js | 9 +++- ui/effect-pulsate.js | 9 +++- ui/effect-scale.js | 9 +++- ui/effect-shake.js | 9 +++- ui/effect-size.js | 9 +++- ui/effect-slide.js | 9 +++- ui/effect-transfer.js | 9 +++- ui/effect.js | 9 +++- ui/menu.js | 9 +++- ui/mouse.js | 8 +++- ui/position.js | 7 +++ ui/progressbar.js | 9 +++- ui/resizable.js | 9 +++- ui/selectable.js | 9 +++- ui/selectmenu.js | 9 +++- ui/slider.js | 9 +++- ui/sortable.js | 9 +++- ui/spinner.js | 9 +++- ui/tabs.js | 9 +++- ui/tooltip.js | 9 +++- ui/widget.js | 9 +++- 43 files changed, 262 insertions(+), 426 deletions(-) delete mode 100644 build/core.json delete mode 100644 build/effect.json delete mode 100644 build/interaction.json delete mode 100644 build/widget.json diff --git a/build/core.json b/build/core.json deleted file mode 100644 index 903230c87..000000000 --- a/build/core.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "core": { - "description": "The core of jQuery UI, required for all interactions and widgets.", - "homepage": "http://jqueryui.com/", - "demo": "http://jqueryui.com/", - "docs": "http://api.jqueryui.com/category/ui-core/" - }, - "datepicker": { - "description": "Displays a calendar from an input or inline for selecting dates.", - "dependencies": [ "core" ], - "keywords": [ - "form", - "calendar", - "date", - "i18n" - ], - "category": "widget" - }, - "effect": { - "title": "jQuery UI Effects Core", - "description": "Extends the internal jQuery effects. Includes morphing and easing. Required by all other effects.", - "keywords": [ - "animation", - "show", - "hide", - "color", - "class", - "transition", - "easing" - ], - "category": "effect", - "homepage": "http://jqueryui.com/", - "demo": "http://jqueryui.com/effect/", - "docs": "http://api.jqueryui.com/category/effects-core/" - }, - "position": { - "description": "Positions elements relative to other elements.", - "keywords": [ - "offset", - "relative", - "absolute", - "fixed", - "collision" - ] - }, - "transfer": { - "name": "ui.effect-transfer", - "title": "jQuery UI Transfer Effect", - "description": "Displays a transfer effect from one element to another.", - "keywords": [ - "effect" - ], - "homepage": "http://jqueryui.com/transfer-effect/", - "demo": "http://jqueryui.com/transfer-effect/", - "docs": "http://api.jqueryui.com/transfer-effect/", - "dependencies": [ "effect" ], - "category": "effect" - }, - "widget": { - "description": "Provides a factory for creating stateful widgets with a common API.", - "keywords": [ - "abstraction", - "state", - "factory" - ], - "docs": "http://api.jqueryui.com/jQuery.widget/" - } -} diff --git a/build/effect.json b/build/effect.json deleted file mode 100644 index 3963bced3..000000000 --- a/build/effect.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "blind": { - "description": "Blinds the element." - }, - "bounce": { - "description": "Bounces an element horizontally or vertically n times." - }, - "clip": { - "description": "Clips the element on and off like an old TV." - }, - "drop": { - "description": "Moves an element in one direction and hides it at the same time." - }, - "explode": { - "description": "Explodes an element in all directions into n pieces. Implodes an element to its original wholeness." - }, - "fade": { - "description": "Fades an element." - }, - "fold": { - "description": "Folds an element first horizontally and then vertically." - }, - "highlight": { - "description": "Highlights the background of an element in a defined color for a custom duration." - }, - "puff": { - "dependencies": [ "effect-scale" ], - "description": "Creates a puff effect by scaling the element up and hiding it at the same time." - }, - "pulsate": { - "description": "Pulsates an element n times by changing the opacity to zero and back." - }, - "scale": { - "dependencies": [ "effect-size" ], - "description": "Grows or shrinks an element and its content. Restores an element to its original size." - }, - "shake": { - "description": "Shakes an element horizontally or vertically n times." - }, - "size": { - "description": "Resize an element to a specified width and height." - }, - "slide": { - "description": "Slides an element in and out of the viewport." - } -} diff --git a/build/interaction.json b/build/interaction.json deleted file mode 100644 index d964c4ac3..000000000 --- a/build/interaction.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "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/release.js b/build/release.js index abb972cb6..a55f8002c 100644 --- a/build/release.js +++ b/build/release.js @@ -65,8 +65,9 @@ Release.define({ "}\n\nReleased on " + monthNames[ now.getMonth() ] + " " + now.getDate() + ", " + now.getFullYear() + "\n\n"; }, generateArtifacts: function( fn ) { - var files; - function copyCdnFiles() { + var files = replaceAtVersion(); + + buildCDNPackage(function copyCdnFiles() { var zipFile = shell.ls( "../jquery*-cdn.zip" )[ 0 ], tmpFolder = "../tmp-zip-output", unzipCommand = "unzip -o " + zipFile + " -d " + tmpFolder; @@ -82,11 +83,7 @@ Release.define({ shell.cp( tmpFolder + "/jquery-ui*.js", "dist/cdn" ); shell.cp( "-r", tmpFolder + "/themes", "dist/cdn" ); fn( files ); - } - - Release.exec( "grunt manifest" ); - files = shell.ls( "*.jquery.json" ).concat( replaceAtVersion() ); - buildCDNPackage( copyCdnFiles ); + }); } }); diff --git a/build/tasks/build.js b/build/tasks/build.js index 1e08dc62f..13e6fad14 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -2,98 +2,6 @@ module.exports = function( grunt ) { "use strict"; -grunt.registerTask( "manifest", "Generate jquery.json manifest files", function() { - var uiFiles, - totalManifests = 0, - pkg = grunt.config( "pkg" ), - base = { - core: { - name: "ui.{plugin}", - title: "jQuery UI {Plugin}" - }, - widget: { - name: "ui.{plugin}", - 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", - keywords: [ "effect", "show", "hide" ], - homepage: "http://jqueryui.com/effect/", - demo: "http://jqueryui.com/effect/", - docs: "http://api.jqueryui.com/{plugin}-effect/", - dependencies: [ "effect" ] - } - }; - - Object.keys( base ).forEach(function( type ) { - var baseManifest = base[ type ], - plugins = grunt.file.readJSON( "build/" + type + ".json" ), - bower = grunt.file.readJSON( "bower.json" ); - - Object.keys( plugins ).forEach(function( plugin ) { - var manifest, bowerKey, - data = plugins[ plugin ], - name = plugin.charAt( 0 ).toUpperCase() + plugin.substr( 1 ); - - function replace( str ) { - return str.replace( "{plugin}", plugin ).replace( "{Plugin}", name ); - } - - manifest = { - name: data.name || replace( baseManifest.name ), - title: data.title || replace( baseManifest.title ), - description: data.description, - keywords: [ "ui", plugin ] - .concat( baseManifest.keywords || [] ) - .concat( data.keywords || [] ), - version: pkg.version, - author: pkg.author, - maintainers: pkg.maintainers, - licenses: pkg.licenses, - bugs: pkg.bugs, - homepage: data.homepage || replace( baseManifest.homepage || - "http://jqueryui.com/{plugin}/" ), - demo: data.demo || replace( baseManifest.demo || - "http://jqueryui.com/{plugin}/" ), - docs: data.docs || replace( baseManifest.docs || - "http://api.jqueryui.com/{plugin}/" ), - download: "http://jqueryui.com/download/", - dependencies: {}, - // custom - category: data.category || type - }; - - for ( bowerKey in bower.dependencies ) { - manifest.dependencies[ bowerKey ] = bower.dependencies[ bowerKey ]; - } - - (baseManifest.dependencies || []) - .concat(data.dependencies || []) - .forEach(function( dependency ) { - manifest.dependencies[ "ui." + dependency ] = pkg.version; - }); - - grunt.file.write( manifest.name + ".jquery.json", - JSON.stringify( manifest, null, "\t" ) + "\n" ); - totalManifests += 1; - }); - }); - - uiFiles = grunt.file.expand( "ui/*.js" ).length; - if ( totalManifests !== uiFiles ) { - grunt.log.error( "Generated " + totalManifests + " manifest files, but there are " + - uiFiles + " ui/*.js files. Do all of them have entries?" ); - return false; - } -}); - grunt.registerTask( "clean", function() { require( "rimraf" ).sync( "dist" ); }); diff --git a/build/widget.json b/build/widget.json deleted file mode 100644 index df09accd6..000000000 --- a/build/widget.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "accordion": { - "dependencies": [], - "description": "Displays collapsible content panels for presenting information in a limited amount of space.", - "keywords": [ - "navigation", - "panel", - "collapse", - "expand" - ] - }, - "autocomplete": { - "dependencies": [ "menu", "position" ], - "description": "Lists suggested words as the user is typing.", - "keywords": [ - "form", - "word", - "predict", - "suggest" - ] - }, - "button": { - "dependencies": [], - "description": "Enhances a form with themeable buttons.", - "keywords": [ - "form", - "radio", - "checkbox" - ] - }, - "dialog": { - "dependencies": [ "button", "draggable", "position", "resizable" ], - "description": "Displays customizable dialog windows.", - "keywords": [ - "modal", - "alert", - "popup" - ] - }, - "menu": { - "dependencies": [ "position" ], - "description": "Creates nestable menus.", - "keywords": [ - "dropdown", - "flyout" - ] - }, - "mouse": { - "dependencies": [], - "description": "Abstracts mouse-based interactions to assist in creating certain widgets.", - "keywords": [ - "abstraction" - ], - "category": "core" - }, - "progressbar": { - "dependencies": [], - "description": "Displays a status indicator for loading state, standard percentage, and other progress indicators.", - "keywords": [ - "determinate", - "status" - ] - }, - "selectmenu": { - "dependencies": [ "position", "menu" ], - "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.", - "keywords": [ - "form", - "select" - ] - }, - "slider": { - "dependencies": [ "mouse" ], - "description": "Displays a flexible slider with ranges and accessibility via keyboard.", - "keywords": [ - "form", - "number", - "range" - ] - }, - "spinner": { - "dependencies": [ "button" ], - "description": "Displays buttons to easily input numbers via the keyboard or mouse.", - "keywords": [ - "form", - "number", - "spinbutton", - "stepper" - ] - }, - "tabs": { - "dependencies": [], - "description": "Transforms a set of container elements into a tab structure.", - "keywords": [ - "navigation", - "panel", - "collapse", - "expand" - ] - }, - "tooltip": { - "dependencies": [ "position" ], - "description": "Shows additional information for any element on hover or focus.", - "keywords": [] - } -} diff --git a/ui/accordion.js b/ui/accordion.js index 946437197..1f41266d7 100644 --- a/ui/accordion.js +++ b/ui/accordion.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/accordion/ */ + +//>>label: Accordion +//>>group: Widgets +//>>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/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/autocomplete.js b/ui/autocomplete.js index aa0e54633..319433913 100644 --- a/ui/autocomplete.js +++ b/ui/autocomplete.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/autocomplete/ */ + +//>>label: Autocomplete +//>>group: Widgets +//>>description: Lists suggested words as the user is typing. +//>>docs: http://api.jqueryui.com/autocomplete/ +//>>demos: http://jqueryui.com/autocomplete/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/button.js b/ui/button.js index 5d502ad51..3a7c24c6e 100644 --- a/ui/button.js +++ b/ui/button.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/button/ */ + +//>>label: Button +//>>group: Widgets +//>>description: Enhances a form with themeable buttons. +//>>docs: http://api.jqueryui.com/button/ +//>>demos: http://jqueryui.com/button/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/core.js b/ui/core.js index 5e5f6d574..a6f7d6548 100644 --- a/ui/core.js +++ b/ui/core.js @@ -6,8 +6,14 @@ * Released under the MIT license. * http://jquery.org/license * - * http://api.jqueryui.com/category/ui-core/ */ + +//>>label: Core +//>>group: UI Core +//>>description: The core of jQuery UI, required for all interactions and widgets. +//>>docs: http://api.jqueryui.com/category/ui-core/ +//>>demos: http://jqueryui.com/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/datepicker.js b/ui/datepicker.js index 34ffc578e..4614afd47 100644 --- a/ui/datepicker.js +++ b/ui/datepicker.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/datepicker/ */ + +//>>label: Datepicker +//>>group: Widgets +//>>description: Displays a calendar from an input or inline for selecting dates. +//>>docs: http://api.jqueryui.com/datepicker/ +//>>demos: http://jqueryui.com/datepicker/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/dialog.js b/ui/dialog.js index 5561a96cd..fb50939dd 100644 --- a/ui/dialog.js +++ b/ui/dialog.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/dialog/ */ + +//>>label: Dialog +//>>group: Widgets +//>>description: Displays customizable dialog windows. +//>>docs: http://api.jqueryui.com/dialog/ +//>>demos: http://jqueryui.com/dialog/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/draggable.js b/ui/draggable.js index 5be628dc8..e2bd4eb81 100644 --- a/ui/draggable.js +++ b/ui/draggable.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/draggable/ */ + +//>>label: Draggable +//>>group: Interactions +//>>description: Enables dragging functionality for any element. +//>>docs: http://api.jqueryui.com/draggable/ +//>>demos: http://jqueryui.com/draggable/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/droppable.js b/ui/droppable.js index c62af0941..5e39cf68d 100644 --- a/ui/droppable.js +++ b/ui/droppable.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/droppable/ */ + +//>>label: Droppable +//>>group: Interactions +//>>description: Enables drop targets for draggable elements. +//>>docs: http://api.jqueryui.com/droppable/ +//>>demos: http://jqueryui.com/droppable/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/effect-blind.js b/ui/effect-blind.js index 0582b073a..ffdfa3735 100644 --- a/ui/effect-blind.js +++ b/ui/effect-blind.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/blind-effect/ */ + +//>>label: Blind Effect +//>>group: Effects +//>>description: Blinds the element. +//>>docs: http://api.jqueryui.com/blind-effect/ +//>>demos: http://jqueryui.com/effect/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/effect-bounce.js b/ui/effect-bounce.js index 250ef80bc..b2fa2c951 100644 --- a/ui/effect-bounce.js +++ b/ui/effect-bounce.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/bounce-effect/ */ + +//>>label: Bounce Effect +//>>group: Effects +//>>description: Bounces an element horizontally or vertically n times. +//>>docs: http://api.jqueryui.com/bounce-effect/ +//>>demos: http://jqueryui.com/effect/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/effect-clip.js b/ui/effect-clip.js index b53ff9b4e..6a07ad67d 100644 --- a/ui/effect-clip.js +++ b/ui/effect-clip.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/clip-effect/ */ + +//>>label: Clip Effect +//>>group: Effects +//>>description: Clips the element on and off like an old TV. +//>>docs: http://api.jqueryui.com/clip-effect/ +//>>demos: http://jqueryui.com/effect/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/effect-drop.js b/ui/effect-drop.js index ec1b8cefd..0b3f85557 100644 --- a/ui/effect-drop.js +++ b/ui/effect-drop.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/drop-effect/ */ + +//>>label: Drop Effect +//>>group: Effects +//>>description: Moves an element in one direction and hides it at the same time. +//>>docs: http://api.jqueryui.com/drop-effect/ +//>>demos: http://jqueryui.com/effect/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/effect-explode.js b/ui/effect-explode.js index f89f88427..547c6787a 100644 --- a/ui/effect-explode.js +++ b/ui/effect-explode.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/explode-effect/ */ + +//>>label: Explode Effect +//>>group: Effects +//>>description: Explodes an element in all directions into n pieces. Implodes an element to its original wholeness. +//>>docs: http://api.jqueryui.com/explode-effect/ +//>>demos: http://jqueryui.com/effect/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/effect-fade.js b/ui/effect-fade.js index 1cfdd2f29..3bde7d6b9 100644 --- a/ui/effect-fade.js +++ b/ui/effect-fade.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/fade-effect/ */ + +//>>label: Fade Effect +//>>group: Effects +//>>description: Fades the element. +//>>docs: http://api.jqueryui.com/fade-effect/ +//>>demos: http://jqueryui.com/effect/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/effect-fold.js b/ui/effect-fold.js index 9c35981e0..7776f3cc6 100644 --- a/ui/effect-fold.js +++ b/ui/effect-fold.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/fold-effect/ */ + +//>>label: Fold Effect +//>>group: Effects +//>>description: Folds an element first horizontally and then vertically. +//>>docs: http://api.jqueryui.com/fold-effect/ +//>>demos: http://jqueryui.com/effect/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/effect-highlight.js b/ui/effect-highlight.js index d6b30b1d4..e3ad3cbc4 100644 --- a/ui/effect-highlight.js +++ b/ui/effect-highlight.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/highlight-effect/ */ + +//>>label: Highlight Effect +//>>group: Effects +//>>description: Highlights the background of an element in a defined color for a custom duration. +//>>docs: http://api.jqueryui.com/highlight-effect/ +//>>demos: http://jqueryui.com/effect/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/effect-puff.js b/ui/effect-puff.js index 80d2c17e2..8ea6ded22 100644 --- a/ui/effect-puff.js +++ b/ui/effect-puff.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/puff-effect/ */ + +//>>label: Puff Effect +//>>group: Effects +//>>description: Creates a puff effect by scaling the element up and hiding it at the same time. +//>>docs: http://api.jqueryui.com/puff-effect/ +//>>demos: http://jqueryui.com/effect/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/effect-pulsate.js b/ui/effect-pulsate.js index 9c6e65e35..0e82761a3 100644 --- a/ui/effect-pulsate.js +++ b/ui/effect-pulsate.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/pulsate-effect/ */ + +//>>label: Pulsate Effect +//>>group: Effects +//>>description: Pulsates an element n times by changing the opacity to zero and back. +//>>docs: http://api.jqueryui.com/pulsate-effect/ +//>>demos: http://jqueryui.com/effect/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/effect-scale.js b/ui/effect-scale.js index f5a842c47..e2e1c0b50 100644 --- a/ui/effect-scale.js +++ b/ui/effect-scale.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/scale-effect/ */ + +//>>label: Scale Effect +//>>group: Effects +//>>description: Grows or shrinks an element and its content. Restores an element to its original size. +//>>docs: http://api.jqueryui.com/scale-effect/ +//>>demos: http://jqueryui.com/effect/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/effect-shake.js b/ui/effect-shake.js index 5e7c6aa4e..896d6f95e 100644 --- a/ui/effect-shake.js +++ b/ui/effect-shake.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/shake-effect/ */ + +//>>label: Shake Effect +//>>group: Effects +//>>description: Shakes an element horizontally or vertically n times. +//>>docs: http://api.jqueryui.com/shake-effect/ +//>>demos: http://jqueryui.com/effect/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/effect-size.js b/ui/effect-size.js index 7caa9501a..984d74105 100644 --- a/ui/effect-size.js +++ b/ui/effect-size.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/size-effect/ */ + +//>>label: Size Effect +//>>group: Effects +//>>description: Resize an element to a specified width and height. +//>>docs: http://api.jqueryui.com/size-effect/ +//>>demos: http://jqueryui.com/effect/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/effect-slide.js b/ui/effect-slide.js index 53e4b8357..ec1fec629 100644 --- a/ui/effect-slide.js +++ b/ui/effect-slide.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/slide-effect/ */ + +//>>label: Slide Effect +//>>group: Effects +//>>description: Slides an element in and out of the viewport. +//>>docs: http://api.jqueryui.com/slide-effect/ +//>>demos: http://jqueryui.com/effect/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/effect-transfer.js b/ui/effect-transfer.js index ec960cd33..1008e5b47 100644 --- a/ui/effect-transfer.js +++ b/ui/effect-transfer.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/transfer-effect/ */ + +//>>label: Transfer Effect +//>>group: Effects +//>>description: Displays a transfer effect from one element to another. +//>>docs: http://api.jqueryui.com/transfer-effect/ +//>>demos: http://jqueryui.com/effect/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/effect.js b/ui/effect.js index 6fe99708b..fbbd7fe28 100644 --- a/ui/effect.js +++ b/ui/effect.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/category/effects-core/ */ + +//>>label: Effects Core +//>>group: Effects +//>>description: Extends the internal jQuery effects. Includes morphing and easing. Required by all other effects. +//>>docs: http://api.jqueryui.com/category/effects-core/ +//>>demos: http://jqueryui.com/effect/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/menu.js b/ui/menu.js index 6d60e12a5..ad8198643 100644 --- a/ui/menu.js +++ b/ui/menu.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/menu/ */ + +//>>label: Menu +//>>group: Widgets +//>>description: Creates nestable menus. +//>>docs: http://api.jqueryui.com/menu/ +//>>demos: http://jqueryui.com/menu/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/mouse.js b/ui/mouse.js index 0ac9acb6c..fc499cf5b 100644 --- a/ui/mouse.js +++ b/ui/mouse.js @@ -5,9 +5,13 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/mouse/ */ + +//>>label: Mouse +//>>group: UI Core +//>>description: Abstracts mouse-based interactions to assist in creating certain widgets. +//>>docs: http://api.jqueryui.com/mouse/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/position.js b/ui/position.js index 09bc4fe2b..4b0cc4964 100644 --- a/ui/position.js +++ b/ui/position.js @@ -8,6 +8,13 @@ * * http://api.jqueryui.com/position/ */ + +//>>label: Position +//>>group: UI Core +//>>description: Positions elements relative to other elements. +//>>docs: http://api.jqueryui.com/position/ +//>>demos: http://jqueryui.com/position/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/progressbar.js b/ui/progressbar.js index ac8144d73..d7ad1df7f 100644 --- a/ui/progressbar.js +++ b/ui/progressbar.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/progressbar/ */ + +//>>label: Progressbar +//>>group: Widgets +//>>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/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/resizable.js b/ui/resizable.js index a02837a19..5c262f1e5 100644 --- a/ui/resizable.js +++ b/ui/resizable.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/resizable/ */ + +//>>label: Resizble +//>>group: Interactions +//>>description: Enables resize functionality for any element. +//>>docs: http://api.jqueryui.com/resizable/ +//>>demos: http://jqueryui.com/resizable/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/selectable.js b/ui/selectable.js index 81a3f9789..ac67f7ded 100644 --- a/ui/selectable.js +++ b/ui/selectable.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/selectable/ */ + +//>>label: Selectable +//>>group: Interactions +//>>description: Allows groups of elements to be selected with the mouse. +//>>docs: http://api.jqueryui.com/selectable/ +//>>demos: http://jqueryui.com/selectable/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/selectmenu.js b/ui/selectmenu.js index 0859a2c2c..5e9ee351b 100644 --- a/ui/selectmenu.js +++ b/ui/selectmenu.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/selectmenu */ + +//>>label: Selectmenu +//>>group: Widgets +//>>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/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/slider.js b/ui/slider.js index 6d97f3c69..db905ba5e 100644 --- a/ui/slider.js +++ b/ui/slider.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/slider/ */ + +//>>label: Slider +//>>group: Widgets +//>>description: Displays a flexible slider with ranges and accessibility via keyboard. +//>>docs: http://api.jqueryui.com/slider/ +//>>demos: http://jqueryui.com/slider/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/sortable.js b/ui/sortable.js index 913949c20..c9254651a 100644 --- a/ui/sortable.js +++ b/ui/sortable.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/sortable/ */ + +//>>label: Sortable +//>>group: Interactions +//>>description: Enables items in a list to be sorted using the mouse. +//>>docs: http://api.jqueryui.com/sortable/ +//>>demos: http://jqueryui.com/sortable/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/spinner.js b/ui/spinner.js index 263b29d3f..c4c748205 100644 --- a/ui/spinner.js +++ b/ui/spinner.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/spinner/ */ + +//>>label: Spinner +//>>group: Widgets +//>>description: Displays buttons to easily input numbers via the keyboard or mouse. +//>>docs: http://api.jqueryui.com/spinner/ +//>>demos: http://jqueryui.com/spinner/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/tabs.js b/ui/tabs.js index c0b24e743..d0d039db7 100644 --- a/ui/tabs.js +++ b/ui/tabs.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/tabs/ */ + +//>>label: Tabs +//>>group: Widgets +//>>description: Transforms a set of container elements into a tab structure. +//>>docs: http://api.jqueryui.com/tabs/ +//>>demos: http://jqueryui.com/tabs/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/tooltip.js b/ui/tooltip.js index 180c9f8e2..7decb0606 100644 --- a/ui/tooltip.js +++ b/ui/tooltip.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/tooltip/ */ + +//>>label: Tooltip +//>>group: Widgets +//>>description: Shows additional information for any element on hover or focus. +//>>docs: http://api.jqueryui.com/tooltip/ +//>>demos: http://jqueryui.com/tooltip/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { diff --git a/ui/widget.js b/ui/widget.js index 41425b1a9..302705044 100644 --- a/ui/widget.js +++ b/ui/widget.js @@ -5,9 +5,14 @@ * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license - * - * http://api.jqueryui.com/jQuery.widget/ */ + +//>>label: Widget +//>>group: UI Core +//>>description: Provides a factory for creating stateful widgets with a common API. +//>>docs: http://api.jqueryui.com/jQuery.widget/ +//>>demos: http://jqueryui.com/widget/ + (function( factory ) { if ( typeof define === "function" && define.amd ) { -- 2.39.5