Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove unnecessary Google CDN URLs

  • Loading branch information...
commit abd48cd86d499d2228769b536740af15819cdbbd 1 parent f30fd10
@ai ai authored
Showing with 1 addition and 5 deletions.
  1. +0 −2  README.md
  2. +1 −3 lib/jquery-rails-cdn.rb
View
2  README.md
@@ -53,8 +53,6 @@ Note that valid CDN symbols are:
```ruby
:google
-:google_ssl
-:google_schemeless
:microsoft
:jquery
```
View
4 lib/jquery-rails-cdn.rb
@@ -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"
}
Please sign in to comment.
Something went wrong with that request. Please try again.