Show More
@@ -0,0 +1,7 b'' | |||
|
1 | <link rel="import" href="../../../../../../bower_components/polymer/polymer.html"> | |
|
2 | <dom-module id="rhodecode-legacy-js"> | |
|
3 | <template> | |
|
4 | <script src="../../../scripts.js"></script> | |
|
5 | </template> | |
|
6 | <script src="rhodecode-legacy-js.js"></script> | |
|
7 | </dom-module> |
@@ -1,8 +1,9 b'' | |||
|
1 | 1 | <!-- required for stamped out templates that might use common elements --> |
|
2 | <link rel="import" href="rhodecode-legacy-js/rhodecode-legacy-js.html"> | |
|
2 | 3 | <link rel="import" href="../../../../../bower_components/iron-ajax/iron-ajax.html"> |
|
3 | 4 | <link rel="import" href="shared-styles.html"> |
|
4 | 5 | <link rel="import" href="channelstream-connection/channelstream-connection.html"> |
|
5 | 6 | <link rel="import" href="rhodecode-toast/rhodecode-toast.html"> |
|
6 | 7 | <link rel="import" href="rhodecode-toggle/rhodecode-toggle.html"> |
|
7 | 8 | <link rel="import" href="rhodecode-unsafe-html/rhodecode-unsafe-html.html"> |
|
8 | <link rel="import" href="rhodecode-app/rhodecode-app.html"> No newline at end of file | |
|
9 | <link rel="import" href="rhodecode-app/rhodecode-app.html"> |
@@ -119,10 +119,9 b" c.template_context['visual']['default_re" | |||
|
119 | 119 | <![endif]--> |
|
120 | 120 | <script language="javascript" type="text/javascript" src="${h.asset('js/rhodecode/routes.js', ver=c.rhodecode_version_hash)}"></script> |
|
121 | 121 | <script> var alertMessagePayloads = ${h.flash.json_alerts()|n}; </script> |
|
122 | <script language="javascript" type="text/javascript" src="${h.asset('js/scripts.js', ver=c.rhodecode_version_hash)}"></script> | |
|
123 | 122 | ## avoide escaping the %N |
|
123 | <script language="javascript" type="text/javascript" src="${h.asset('js/rhodecode-components.js', ver=c.rhodecode_version_hash)}"></script> | |
|
124 | 124 | <script>CodeMirror.modeURL = "${h.asset('') + 'js/mode/%N/%N.js?ver='+c.rhodecode_version_hash}";</script> |
|
125 | <script language="javascript" type="text/javascript" src="${h.asset('js/rhodecode-components.js', ver=c.rhodecode_version_hash)}"></script> | |
|
126 | 125 | |
|
127 | 126 | |
|
128 | 127 | ## JAVASCRIPT EXTRA - optionally inject some extra JS for specificed templates |
@@ -56,7 +56,7 b' class TestHomeController(TestController)' | |||
|
56 | 56 | |
|
57 | 57 | rhodecode_version_hash = c.rhodecode_version_hash |
|
58 | 58 | response.mustcontain('style.css?ver={0}'.format(rhodecode_version_hash)) |
|
59 |
response.mustcontain(' |
|
|
59 | response.mustcontain('rhodecode-components.js?ver={0}'.format(rhodecode_version_hash)) | |
|
60 | 60 | |
|
61 | 61 | def test_index_contains_backend_specific_details(self, backend): |
|
62 | 62 | self.log_user() |
General Comments 0
You need to be logged in to leave comments.
Login now