UNPKG

949 BPlain TextView Raw
1<!DOCTYPE html>
2<html id="html">
3 <head>
4 <title><%= @title %></title>
5 <link href="/vendor/qunit.css" media="screen" rel="stylesheet" type="text/css" media="screen, projection" />
6 <style>
7 #jquery-cdn, #jquery-version {
8 padding: 0 2em .8em 0;
9 text-align: right;
10 font-family: sans-serif;
11 line-height: 1;
12 color: #8699A4;
13 background-color: #0d3349;
14 }
15
16 #jquery-cdn a, #jquery-version a {
17 color: white;
18 text-decoration: underline;
19 }
20 </style>
21
22 <%= script_tag jquery_src %>
23 <script>
24 // This is for test in override.js.
25 // Must go after jQuery is loaded, but before jquery-ujs.
26 $(document).bind('rails:attachBindings', function() {
27 $.rails.linkClickSelector += ', a[data-custom-remote-link]';
28 });
29 </script>
30 <%= script_tag "/src/rails.js" %>
31 </head>
32
33 <body id="body">
34 <%= yield %>
35 </body>
36</html>
37
\No newline at end of file