Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added 1.7.1 support

  • Loading branch information...
commit cb54ae287f5c73207aef2891cdf22212aea5fb86 1 parent b5273c5
@JangoSteve JangoSteve authored
Showing with 3 additions and 3 deletions.
  1. +2 −2 test/server.rb
  2. +1 −1  test/views/layout.erb
View
4 test/server.rb
@@ -1,7 +1,7 @@
require 'sinatra'
require 'json'
-JQUERY_VERSIONS = %w[ 1.6 1.6.1 1.6.2 1.6.3 1.6.4 1.7 ].freeze
+JQUERY_VERSIONS = %w[ 1.6 1.6.1 1.6.2 1.6.3 1.6.4 1.7 1.7.1 ].freeze
use Rack::Static, :urls => ["/src"], :root => File.expand_path('..', settings.root)
@@ -48,7 +48,7 @@ def jquery_versions
end
get '/' do
- params[:version] ||= '1.7'
+ params[:version] ||= '1.7.1'
params[:cdn] ||= 'jquery'
erb :index
end
View
2  test/views/layout.erb
@@ -8,7 +8,7 @@
color: #8699A4; text-align: right; font-family: sans-serif; line-height: 1;
margin-top: -1.8em; padding: 0 2em .8em 0;
}
- #jquery-cdn { margin-right: 375px; }
+ #jquery-cdn { margin-right: 450px; }
#jquery-cdn a, #jquery-version a { color: white; text-decoration: underline; }
</style>
Please sign in to comment.
Something went wrong with that request. Please try again.