Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Merge pull request #29 from gf3/jquery-2.0.3
Browse files Browse the repository at this point in the history
Test jQuery 2.0.3
  • Loading branch information
josh committed Jul 12, 2013
2 parents ca9b766 + 129533b commit 802eaa4
Show file tree
Hide file tree
Showing 3 changed files with 8,840 additions and 1 deletion.
10 changes: 10 additions & 0 deletions test/config.ru
Expand Up @@ -48,6 +48,16 @@ map "/jquery-1.9.1.html" do
} }
end 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 map "/zepto-1.0.html" do
run lambda { |env| run lambda { |env|
html = <<-HTML html = <<-HTML
Expand Down
2 changes: 1 addition & 1 deletion test/test.coffee
Expand Up @@ -2,7 +2,7 @@
#= require_self #= require_self
#= require_directory ./unit #= 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) -> window.each = (array, block) ->
for item in array for item in array
Expand Down

0 comments on commit 802eaa4

Please sign in to comment.