Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #6 from ai/clean_google

Remove unnecessary Google CDN URLs
  • Loading branch information...
commit 3e4c5250bdba59aefb44ab66967d56b05e7a0161 2 parents 53c5919 + abd48cd
@kenn 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
:yandex
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",
:yandex => "http://yandex.st/jquery/#{JQUERY_VERSION}/jquery.js"
Please sign in to comment.
Something went wrong with that request. Please try again.