Skip to content

Commit f71f4ab

Browse files
committed
Grunt: Fix download_docs task
1 parent 0c8556d commit f71f4ab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

grunt.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -430,19 +430,19 @@ grunt.registerTask( "download_docs", function() {
430430
var files = "draggable droppable resizable selectable sortable accordion autocomplete button datepicker dialog progressbar slider tabs position"
431431
.split(" ").map(function(widget) {
432432
return {
433-
url: "http://docs.jquery.com/action/render/UI/API/" + version + "/" + capitalize(widget),
433+
url: "http://docs.jquery.com/UI/API/" + version + "/" + capitalize(widget) + "?action=render",
434434
dest: docsDir + '/' + widget + '.html'
435435
};
436436
});
437437
files = files.concat("animate addClass effect hide removeClass show switchClass toggle toggleClass".split(" ").map(function(widget) {
438438
return {
439-
url: "http://docs.jquery.com/action/render/UI/Effects/" + widget,
439+
url: "http://docs.jquery.com/UI/Effects/" + widget + "?action=render",
440440
dest: docsDir + '/' + widget + '.html'
441441
};
442442
}));
443443
files = files.concat("Blind Clip Drop Explode Fade Fold Puff Slide Scale Bounce Highlight Pulsate Shake Size Transfer".split(" ").map(function(widget) {
444444
return {
445-
url: "http://docs.jquery.com/action/render/UI/Effects/" + widget,
445+
url: "http://docs.jquery.com/UI/Effects/" + widget + "?action=render",
446446
dest: docsDir + '/effect-' + widget.toLowerCase() + '.html'
447447
};
448448
}));

0 commit comments

Comments
 (0)