]> source.dussan.org Git - jquery-ui.git/commitdiff
Grunt: Fix download_docs task 1-8-stable 1851/head 1878/head
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Sat, 29 Sep 2012 16:00:45 +0000 (18:00 +0200)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Sat, 29 Sep 2012 16:00:45 +0000 (18:00 +0200)
grunt.js

index 01aef88a2a76672a78629a6fbff054b862bdcea2..34ebe8f071e65826f7af31b969591ceee43994db 100644 (file)
--- a/grunt.js
+++ b/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'
                };
        }));