Skip to content

Commit

Permalink
Added jquery 1.11.0 support. Removed jquery 1.7.x support.
Browse files Browse the repository at this point in the history
  • Loading branch information
JangoSteve committed Jan 29, 2014
1 parent fbddf67 commit f160fa2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/server.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'sinatra'
require 'json'

JQUERY_VERSIONS = %w[ 1.7 1.7.1 1.7.2 1.8.0 1.8.1 1.8.2 1.8.3 1.9.0 1.9.1 1.10.0 1.10.1 ].freeze
JQUERY_VERSIONS = %w[ 1.8.0 1.8.1 1.8.2 1.8.3 1.9.0 1.9.1 1.10.0 1.10.1 1.11.0 ].freeze

use Rack::Static, :urls => ["/src"], :root => File.expand_path('..', settings.root)

Expand Down Expand Up @@ -48,7 +48,7 @@ def jquery_versions
end

get '/' do
params[:version] ||= '1.10.1'
params[:version] ||= '1.11.0'
params[:cdn] ||= 'jquery'
erb :index
end
Expand Down

2 comments on commit f160fa2

@nathany
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might want to update the readme. 1.8+, < 2

@rafaelfranca
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done 980e1c5

Please sign in to comment.