Skip to content
Permalink
Browse files

Manifest: Add category field

  • Loading branch information...
jzaefferer committed Jul 16, 2012
1 parent 44dda07 commit cd82b335a8d6029481383b3da3d920f0658acaf0
Showing with 12 additions and 5 deletions.
  1. +3 −1 build/core.json
  2. +7 −3 build/tasks/build.js
  3. +2 −1 build/widgets.json
@@ -13,7 +13,8 @@
"calendar",
"date",
"i18n"
]
],
"category": "widget"
},
"effect": {
"title": "jQuery UI Effects Core",
@@ -27,6 +28,7 @@
"transition",
"easing"
],
"category": "effect",
"homepage": "http://jqueryui.com/",
"demo": "http://jqueryui.com/",
"docs": "http://api.jqueryui.com/category/effects-core"
@@ -8,12 +8,14 @@ grunt.registerTask( "manifest", "Generate jquery.json manifest files", function(
base = {
core: {
name: "ui.{plugin}",
title: "jQuery UI {Plugin}"
title: "jQuery UI {Plugin}",
category: "core"
},
widgets: {
name: "ui.{plugin}",
title: "jQuery UI {Plugin}",
dependencies: [ "core", "widget" ]
dependencies: [ "core", "widget" ],
category: "widget"
},
effects: {
name: "ui.effect-{plugin}",
@@ -22,7 +24,8 @@ grunt.registerTask( "manifest", "Generate jquery.json manifest files", function(
homepage: "http://jqueryui.com/{plugin}-effect/",
demo: "http://jqueryui.com/{plugin}-effect/",
docs: "http://api.jqueryui.com/{plugin}-effect/",
dependencies: [ "effect" ]
dependencies: [ "effect" ],
category: "effect"
}
};

@@ -46,6 +49,7 @@ grunt.registerTask( "manifest", "Generate jquery.json manifest files", function(
keywords: [ "ui", plugin ]
.concat( baseManifest.keywords || [] )
.concat( data.keywords || [] ),
category: data.category || baseManifest.category,
version: pkg.version,
author: pkg.author,
maintainers: pkg.maintainers,
@@ -66,7 +66,8 @@
"description": "Abstracts mouse-based interactions to assist in creating certain widgets.",
"keywords": [
"abstraction"
]
],
"category": "core"
},
"progressbar": {
"dependencies": [],

0 comments on commit cd82b33

Please sign in to comment.
You can’t perform that action at this time.