##// END OF EJS Templates
routing: avoide espacing the %N in special route for CodeMirror
marcink -
r469:a8c08e03 default
parent child Browse files
Show More
@@ -83,7 +83,8 b" c.template_context['visual']['default_re"
83 <![endif]-->
83 <![endif]-->
84 <script language="javascript" type="text/javascript" src="${h.asset('js/rhodecode/routes.js', ver=c.rhodecode_version_hash)}"></script>
84 <script language="javascript" type="text/javascript" src="${h.asset('js/rhodecode/routes.js', ver=c.rhodecode_version_hash)}"></script>
85 <script language="javascript" type="text/javascript" src="${h.asset('js/scripts.js', ver=c.rhodecode_version_hash)}"></script>
85 <script language="javascript" type="text/javascript" src="${h.asset('js/scripts.js', ver=c.rhodecode_version_hash)}"></script>
86 <script>CodeMirror.modeURL = "${h.asset('js/mode/%N/%N.js')}";</script>
86 ## avoide esaping the %N
87 <script>CodeMirror.modeURL = "${h.asset('') + 'js/mode/%N/%N.js'}";</script>
87
88
88 ## JAVASCRIPT EXTRA - optionally inject some extra JS for specificed templates
89 ## JAVASCRIPT EXTRA - optionally inject some extra JS for specificed templates
89 ${self.js_extra()}
90 ${self.js_extra()}
General Comments 0
You need to be logged in to leave comments. Login now