mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-18 11:55:46 +08:00
Merge pull request #5147 from minrk/static-url-version
Some template URL changes
This commit is contained in:
commit
4bd315bda0
@ -293,7 +293,7 @@ class="notebook_app"
|
||||
|
||||
<script src="{{ static_url("components/codemirror/lib/codemirror.js") }}" charset="utf-8"></script>
|
||||
<script type="text/javascript">
|
||||
CodeMirror.modeURL = "{{ static_url("components/codemirror/mode/%N/%N.js") }}";
|
||||
CodeMirror.modeURL = "{{ static_url("components/codemirror/mode/%N/%N.js", include_version=False) }}";
|
||||
</script>
|
||||
<script src="{{ static_url("components/codemirror/addon/mode/loadmode.js") }}" charset="utf-8"></script>
|
||||
<script src="{{ static_url("components/codemirror/addon/mode/multiplex.js") }}" charset="utf-8"></script>
|
||||
|
@ -19,11 +19,11 @@
|
||||
<script src="{{static_url("components/requirejs/require.js") }}" type="text/javascript" charset="utf-8"></script>
|
||||
<script>
|
||||
require.config({
|
||||
baseUrl: '{{static_url("")}}',
|
||||
baseUrl: '{{static_url("", include_version=False)}}',
|
||||
paths: {
|
||||
nbextensions : '{{ base_url }}nbextensions',
|
||||
underscore : '{{static_url("components/underscore/underscore-min")}}',
|
||||
backbone : '{{static_url("components/backbone/backbone-min")}}',
|
||||
underscore : '{{static_url("components/underscore/underscore-min.js")}}',
|
||||
backbone : '{{static_url("components/backbone/backbone-min.js")}}',
|
||||
},
|
||||
shim: {
|
||||
underscore: {
|
||||
|
Loading…
Reference in New Issue
Block a user