Permalink
Browse files

Remove unnecessary Google CDN URLs

  • Loading branch information...
ai committed Aug 16, 2012
1 parent f30fd10 commit abd48cd86d499d2228769b536740af15819cdbbd
Showing with 1 addition and 5 deletions.
  1. +0 −2 README.md
  2. +1 −3 lib/jquery-rails-cdn.rb
View
@@ -53,8 +53,6 @@ Note that valid CDN symbols are:
```ruby
:google
-:google_ssl
-:google_schemeless
:microsoft
:jquery
```
View
@@ -6,9 +6,7 @@ module ActionViewExtensions
JQUERY_VERSION = Jquery::Rails::JQUERY_VERSION
OFFLINE = (Rails.env.development? or Rails.env.test?)
URL = {
- :google => "http://ajax.googleapis.com/ajax/libs/jquery/#{JQUERY_VERSION}/jquery.min.js",
- :google_ssl => "https://ajax.googleapis.com/ajax/libs/jquery/#{JQUERY_VERSION}/jquery.min.js",
- :google_schemeless => "//ajax.googleapis.com/ajax/libs/jquery/#{JQUERY_VERSION}/jquery.min.js",
+ :google => "//ajax.googleapis.com/ajax/libs/jquery/#{JQUERY_VERSION}/jquery.min.js",
:microsoft => "http://ajax.aspnetcdn.com/ajax/jQuery/jquery-#{JQUERY_VERSION}.min.js",
:jquery => "http://code.jquery.com/jquery-#{JQUERY_VERSION}.min.js"
}

0 comments on commit abd48cd

Please sign in to comment.