Skip to content

Commit

Permalink
Grunt: Fix download_docs task
Browse files Browse the repository at this point in the history
  • Loading branch information
jzaefferer committed Sep 29, 2012
1 parent 0c8556d commit f71f4ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions grunt.js
Original file line number Diff line number Diff line change
Expand Up @@ -430,19 +430,19 @@ grunt.registerTask( "download_docs", function() {
var files = "draggable droppable resizable selectable sortable accordion autocomplete button datepicker dialog progressbar slider tabs position"
.split(" ").map(function(widget) {
return {
url: "http://docs.jquery.com/action/render/UI/API/" + version + "/" + capitalize(widget),
url: "http://docs.jquery.com/UI/API/" + version + "/" + capitalize(widget) + "?action=render",
dest: docsDir + '/' + widget + '.html'
};
});
files = files.concat("animate addClass effect hide removeClass show switchClass toggle toggleClass".split(" ").map(function(widget) {
return {
url: "http://docs.jquery.com/action/render/UI/Effects/" + widget,
url: "http://docs.jquery.com/UI/Effects/" + widget + "?action=render",
dest: docsDir + '/' + widget + '.html'
};
}));
files = files.concat("Blind Clip Drop Explode Fade Fold Puff Slide Scale Bounce Highlight Pulsate Shake Size Transfer".split(" ").map(function(widget) {
return {
url: "http://docs.jquery.com/action/render/UI/Effects/" + widget,
url: "http://docs.jquery.com/UI/Effects/" + widget + "?action=render",
dest: docsDir + '/effect-' + widget.toLowerCase() + '.html'
};
}));
Expand Down

0 comments on commit f71f4ab

Please sign in to comment.