Showing with 2 additions and 14 deletions.
  1. +1 −12 Gruntfile.js
  2. +0 −1 lib/jquery-ui-files-1-10.js
  3. +1 −1 package.json
@@ -318,7 +318,7 @@ function prepare( callback ) {
}
}, log( callback, "Done building manifest", "Error building manifest" ) );
},
function( callback ) {
function() {
grunt.log.writeln( "Building API documentation for jQuery UI" );
if ( !fs.existsSync( "tmp/api.jqueryui.com/config.json" ) ) {
grunt.file.copy( "tmp/api.jqueryui.com/config-sample.json", "tmp/api.jqueryui.com/config.json" );
@@ -331,16 +331,6 @@ function prepare( callback ) {
cwd: "tmp/api.jqueryui.com"
}
}, log( callback, "Done building documentation", "Error building documentation" ) );
},
function() {
grunt.log.writeln( "Building manifest for API documentation for jQuery UI" );
grunt.util.spawn({
cmd: "grunt",
args: [ "manifest" ],
opts: {
cwd: "tmp/api.jqueryui.com"
}
}, log( callback, "Done building manifest", "Error building manifest" ) );
}
]);
}
@@ -379,7 +369,6 @@ function copy( ref ) {
var srcpath = "tmp/api.jqueryui.com/dist/wordpress",
destpath = "jquery-ui/" + ref + "/docs/";
grunt.log.writeln( "Copying API documentation for jQuery UI over to " + destpath );
grunt.file.copy( srcpath + "/categories.json", destpath + "/categories.json" );
[ srcpath + "/posts/post", srcpath + "/posts/page" ].forEach(function( srcpath ) {
grunt.file.expand({ filter: "isFile" }, srcpath + "/**" ).forEach(function( file ) {
// OBS: No overwrite check is needed, because the posts/pages basenames must be unique among themselves.
@@ -72,7 +72,6 @@ function JqueryUiFiles_1_10_0( jqueryUi ) {
// Get basename only with no trailing slash
return path.basename( filepath ).replace( /\/$/, "" );
}).sort();
this.docsCategories = Docs.categories( optional( jqueryUi.path + "docs/categories.json" ) );
}

module.exports = JqueryUiFiles_1_10_0;
@@ -1,6 +1,6 @@
{
"name": "download.jqueryui.com",
"version": "2.0.17",
"version": "2.0.18",
"dependencies": {
"archiver": "0.4.1",
"async": "0.1.22",