We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4cd9c3 commit b95f1edCopy full SHA for b95f1ed
.gitignore
@@ -1,4 +1,4 @@
1
-test/public/vendor/rails.js
+test/public/vendor/jquery.js
2
*.swp
3
*.swo
4
.#*
test/server.rb
@@ -13,7 +13,9 @@ def jquery_link version
13
end
14
15
def jquery_src
16
- "http://code.jquery.com/jquery-#{params[:version]}.js"
+ if params[:version] == 'edge' then "/vendor/jquery.js"
17
+ else "http://code.jquery.com/jquery-#{params[:version]}.js"
18
+ end
19
20
21
def test *names
test/views/index.erb
@@ -6,6 +6,7 @@
6
jquery-ujs test
7
<%= jquery_link '1.4.3' %>
8
<%= jquery_link '1.4.4' %>
9
+ <%= jquery_link 'edge' if File.exist?(settings.root + '/public/vendor/jquery.js') %>
10
</h1>
11
<h2 id="qunit-banner"></h2>
12
<h2 id="qunit-userAgent"></h2>
0 commit comments