mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Grunt: Fix download_docs task
This commit is contained in:
parent
0c8556d927
commit
f71f4abfe5
6
grunt.js
6
grunt.js
@ -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'
|
||||
};
|
||||
}));
|
||||
|
Loading…
Reference in New Issue
Block a user