##// END OF EJS Templates
Use {{static_url}} as require search root
Matthias BUSSONNIER -
Show More
@@ -14,7 +14,7
14 // as injecting require.js make marked not to put itself in the globals,
14 // as injecting require.js make marked not to put itself in the globals,
15 // which make both this file fail at setting marked configuration, and textcell.js
15 // which make both this file fail at setting marked configuration, and textcell.js
16 // which search marked into global.
16 // which search marked into global.
17 require(['static/components/marked/lib/marked.js'],
17 require(['components/marked/lib/marked'],
18
18
19 function (marked) {
19 function (marked) {
20
20
@@ -27,7 +27,7
27 <script src="{{static_url("components/requirejs/require.js") }}" type="text/javascript" charset="utf-8"></script>
27 <script src="{{static_url("components/requirejs/require.js") }}" type="text/javascript" charset="utf-8"></script>
28 <script>
28 <script>
29 require.config({
29 require.config({
30 baseUrl: "static",
30 baseUrl: '{{static_url() }}',
31 });
31 });
32 </script>
32 </script>
33
33
General Comments 0
You need to be logged in to leave comments. Login now