From 29f070a1c31a7bfe0ddbfabcaecfbe20337bd67d 2013-07-07 16:58:37 From: Min RK Date: 2013-07-07 16:58:37 Subject: [PATCH] Merge pull request #3574 from Carreau/correct-mode correct static path for CM modes autoload This should also allow to require CM-python mode for ipython mode and only pass a config options instead of copy-past of all file. --- diff --git a/IPython/html/static/notebook/js/codecell.js b/IPython/html/static/notebook/js/codecell.js index e37cfe4..a7bc26a 100644 --- a/IPython/html/static/notebook/js/codecell.js +++ b/IPython/html/static/notebook/js/codecell.js @@ -46,7 +46,6 @@ var IPython = (function (IPython) { var utils = IPython.utils; var key = IPython.utils.keycodes; - CodeMirror.modeURL = "/static/components/codemirror/mode/%N/%N.js"; /** * A Cell conceived to write code. diff --git a/IPython/html/templates/notebook.html b/IPython/html/templates/notebook.html index 6662c68..b52bae9 100644 --- a/IPython/html/templates/notebook.html +++ b/IPython/html/templates/notebook.html @@ -204,6 +204,9 @@ class="notebook_app" {{super()}} +