Use {{static_url}} as require search root

Matthias BUSSONNIER 13 years ago
parent 66ff7dde48
commit 9f229a8e1c

@ -14,7 +14,7 @@
// as injecting require.js make marked not to put itself in the globals,
// which make both this file fail at setting marked configuration, and textcell.js
// which search marked into global.
require(['static/components/marked/lib/marked.js'],
require(['components/marked/lib/marked'],
function (marked) {

@ -27,7 +27,7 @@
<script src="{{static_url("components/requirejs/require.js") }}" type="text/javascript" charset="utf-8"></script>
<script>
require.config({
baseUrl: "static",
baseUrl: '{{static_url() }}',
});
</script>

Loading…
Cancel
Save