Merge pull request #5147 from minrk/static-url-version

Some template URL changes
This commit is contained in:
Brian E. Granger 2014-02-20 17:05:09 -08:00
commit 4bd315bda0
2 changed files with 4 additions and 4 deletions

View File

@ -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>

View File

@ -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: {