Minor manifest updates.

This commit is contained in:
Scott González 2012-07-06 12:39:17 -04:00
parent 7f859e4c73
commit d369417f7e
2 changed files with 13 additions and 7 deletions

View File

@ -1,6 +1,9 @@
{ {
"core": { "core": {
"description": "The core of jQuery UI, required for all interactions and widgets." "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": { "datepicker": {
"description": "A datepicker than can be toggled from a input or displayed inline.", "description": "A datepicker than can be toggled from a input or displayed inline.",
@ -13,6 +16,7 @@
] ]
}, },
"effect": { "effect": {
"title": "jQuery UI Effects Core",
"description": "Extends the internal jQuery effects, includes morphing, easing and is required by all other effects.", "description": "Extends the internal jQuery effects, includes morphing, easing and is required by all other effects.",
"keywords": [ "keywords": [
"animation", "animation",
@ -22,7 +26,10 @@
"class", "class",
"transition", "transition",
"easing" "easing"
] ],
"homepage": "http://jqueryui.com/",
"demo": "http://jqueryui.com/",
"docs": "http://api.jqueryui.com/category/effects-core"
}, },
"position": { "position": {
"description": "A utility plugin for positioning elements relative to other elements.", "description": "A utility plugin for positioning elements relative to other elements.",

View File

@ -4,6 +4,7 @@ var path = require( "path" );
grunt.registerTask( "manifest", "Generate jquery.json manifest files", function() { grunt.registerTask( "manifest", "Generate jquery.json manifest files", function() {
var pkg = grunt.config( "pkg" ), var pkg = grunt.config( "pkg" ),
// TODO: URLs for UI core and effects core
base = { base = {
core: { core: {
name: "ui.{plugin}", name: "ui.{plugin}",
@ -18,10 +19,8 @@ grunt.registerTask( "manifest", "Generate jquery.json manifest files", function(
name: "ui.effect-{plugin}", name: "ui.effect-{plugin}",
title: "jQuery UI {Plugin} Effect", title: "jQuery UI {Plugin} Effect",
keywords: [ "effect", "show", "hide" ], keywords: [ "effect", "show", "hide" ],
// TODO: Will we have individual pages for 1.9? homepage: "http://jqueryui.com/{plugin}-effect/",
homepage: "http://jqueryui.com/effect/", demo: "http://jqueryui.com/{plugin}-effect/",
// TODO: Will we have individual pages for 1.9?
demo: "http://jqueryui.com/effect/",
docs: "http://api.jqueryui.com/{plugin}-effect/", docs: "http://api.jqueryui.com/{plugin}-effect/",
dependencies: [ "effect" ], dependencies: [ "effect" ],
file: "ui.effect-{plugin}" file: "ui.effect-{plugin}"
@ -43,7 +42,7 @@ grunt.registerTask( "manifest", "Generate jquery.json manifest files", function(
manifest = { manifest = {
name: replace( baseManifest.name ), name: replace( baseManifest.name ),
title: replace( baseManifest.title ), title: data.title || replace( baseManifest.title ),
description: data.description, description: data.description,
keywords: [ "ui", plugin ] keywords: [ "ui", plugin ]
.concat( baseManifest.keywords || [] ) .concat( baseManifest.keywords || [] )