Permalink
Browse files

Merge pull request #6 from ai/clean_google

Remove unnecessary Google CDN URLs
  • Loading branch information...
2 parents 53c5919 + abd48cd commit 3e4c5250bdba59aefb44ab66967d56b05e7a0161 @kenn committed Aug 16, 2012
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
:yandex
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",
:yandex => "http://yandex.st/jquery/#{JQUERY_VERSION}/jquery.js"

0 comments on commit 3e4c525

Please sign in to comment.