diff --git a/build/tasks/build.js b/build/tasks/build.js index ca8eca9bfb4..1e08dc62f01 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -38,7 +38,7 @@ grunt.registerTask( "manifest", "Generate jquery.json manifest files", function( bower = grunt.file.readJSON( "bower.json" ); Object.keys( plugins ).forEach(function( plugin ) { - var manifest, + var manifest, bowerKey, data = plugins[ plugin ], name = plugin.charAt( 0 ).toUpperCase() + plugin.substr( 1 ); @@ -65,11 +65,15 @@ grunt.registerTask( "manifest", "Generate jquery.json manifest files", function( docs: data.docs || replace( baseManifest.docs || "http://api.jqueryui.com/{plugin}/" ), download: "http://jqueryui.com/download/", - dependencies: bower.dependencies, + 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 ) { diff --git a/build/widget.json b/build/widget.json index 4a0f128a322..df09accd6e0 100644 --- a/build/widget.json +++ b/build/widget.json @@ -61,6 +61,14 @@ "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.",