Skip to content

Build: Add manifest entry for selectmenu #1240

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 12, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions build/tasks/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand All @@ -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 ) {
Expand Down
8 changes: 8 additions & 0 deletions build/widget.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down