Skip to content

Commit 3ddc02c

Browse files
committed
switch to jQuery CDN since google hasn't got 1.6 yet
1 parent 858304c commit 3ddc02c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/generators/jquery/install/install_generator.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ def download_ujs_driver
3939
private
4040

4141
def get_jquery(version)
42-
get "http://ajax.googleapis.com/ajax/libs/jquery/#{version}/jquery.js", "public/javascripts/jquery.js"
43-
get "http://ajax.googleapis.com/ajax/libs/jquery/#{version}/jquery.min.js", "public/javascripts/jquery.min.js"
42+
get "http://code.jquery.com/jquery-#{version}.js", "public/javascripts/jquery.js"
43+
get "http://code.jquery.com/jquery-#{version}.min.js", "public/javascripts/jquery.min.js"
4444
end
4545

4646
end

0 commit comments

Comments
 (0)