... | ... |
@@ -8,7 +8,6 @@ |
8 | 8 |
%= stylesheet '/js/google-code-prettify/prettify.css'; |
9 | 9 |
%= javascript '/js/jquery-1.9.0.min.js'; |
10 | 10 |
%= javascript '/js/bootstrap.js'; |
11 |
- %= javascript '/js/google-code-prettify/prettify.js'; |
|
12 | 11 |
|
13 | 12 |
<link rel="shortcut icon" href="<%= url_for('/git-favicon.png') %>" type="image/png" > |
14 | 13 |
|
... | ... |
@@ -53,13 +53,6 @@ |
53 | 53 |
|
54 | 54 |
% layout 'common'; |
55 | 55 |
|
56 |
- %= javascript begin |
|
57 |
- $(document).ready(function () { |
|
58 |
- // Google prety print |
|
59 |
- prettyPrint(); |
|
60 |
- }); |
|
61 |
- % end |
|
62 |
- |
|
63 | 56 |
%= include '/include/header'; |
64 | 57 |
|
65 | 58 |
<div class="container"> |
... | ... |
@@ -111,4 +104,11 @@ |
111 | 104 |
</pre> |
112 | 105 |
% } |
113 | 106 |
</div> |
107 |
+ |
|
108 |
+ %= javascript '/js/google-code-prettify/prettify.js'; |
|
109 |
+ %= javascript begin |
|
110 |
+ // Google prety print |
|
111 |
+ prettyPrint(); |
|
112 |
+ % end |
|
113 |
+ |
|
114 | 114 |
%= include '/include/footer'; |