Skip to content

Commit

Permalink
Merge pull request ipython#5147 from minrk/static-url-version
Browse files Browse the repository at this point in the history
Some template URL changes
  • Loading branch information
ellisonbg committed Feb 21, 2014
2 parents 1a70295 + 9b6f1d4 commit 84d9969
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion IPython/html/templates/notebook.html
Expand Up @@ -293,7 +293,7 @@

<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>
Expand Down
6 changes: 3 additions & 3 deletions IPython/html/templates/page.html
Expand Up @@ -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: {
Expand Down

0 comments on commit 84d9969

Please sign in to comment.