File: index.erb

package info (click to toggle)
ruby-client-side-validations 3.2.6%2Bgh-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 676 kB
  • sloc: javascript: 3,019; ruby: 2,959; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 696 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<% @title = "client_side_validations test" %>

<%= test_base %>
<%= script_tag 'validateElement' %>
<%= script_tag 'utilities' %>
<%= test :validators, :form_builders, :callbacks %>
<%= script_tag 'disableValidators' %>

<h1 id="qunit-header"><%= @title %></h1>

<div id="jquery-version">
  jQuery version:

  <% jquery_versions.each do |v| %>
    <%= ' • ' if v != jquery_versions.first %>
    <%= jquery_link v %>
  <% end %>
 <%= (' • ' + jquery_link('edge')) if File.exist?(settings.root + '/public/vendor/jquery.js') %>
</div>
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests"></ol>

<div id="qunit-fixture"></div>