Use map instead of hacking path to our need.

might help closing #7034
This commit is contained in:
Bussonnier Matthias 2014-11-25 15:56:14 +01:00
parent b72ac07c3d
commit cc00d48b8c

View File

@ -30,7 +30,6 @@
moment: 'components/moment/moment',
codemirror: 'components/codemirror',
termjs: 'components/term.js/src/term',
contents: '{{ contents_js_source }}',
},
shim: {
underscore: {
@ -54,6 +53,14 @@
}
}
});
require.config({
map: {
'*':{
'contents': '{{ contents_js_source }}',
}
}
});
</script>
{% block meta %}