Permalink
Browse files

Merge pull request #29 from gf3/jquery-2.0.3

Test jQuery 2.0.3
  • Loading branch information...
2 parents ca9b766 + 129533b commit 802eaa414d2e93950e870d17a756fc7573848ae4 @josh committed Jul 12, 2013
Showing with 8,840 additions and 1 deletion.
  1. +10 −0 test/config.ru
  2. +1 −1 test/test.coffee
  3. +8,829 −0 vendor/jquery-2.0.3.js
View
@@ -48,6 +48,16 @@ map "/jquery-1.9.1.html" do
}
end
+map "/jquery-2.0.3.html" do
+ run lambda { |env|
+ html = <<-HTML
+ <script type="text/javascript" src="/js/jquery-2.0.3.js"></script>
+ <script type="text/javascript" src="/js/index.js"></script>
+ HTML
+ [200, {'Content-Type' => 'text/html'}, [html]]
+ }
+end
+
map "/zepto-1.0.html" do
run lambda { |env|
html = <<-HTML
View
@@ -2,7 +2,7 @@
#= require_self
#= require_directory ./unit
-window.frameworks = ["jquery-1.7.2", "jquery-1.8.3", "jquery-1.9.1", "zepto-1.0"]
+window.frameworks = ["jquery-1.7.2", "jquery-1.8.3", "jquery-1.9.1", "jquery-2.0.3", "zepto-1.0"]
window.each = (array, block) ->
for item in array
Oops, something went wrong. Retry.

0 comments on commit 802eaa4

Please sign in to comment.