From 2272edf7154e80b9a9039d8ef1c789b9836453f9 Mon Sep 17 00:00:00 2001 From: Matthias BUSSONNIER Date: Sun, 7 Jul 2013 18:52:58 +0200 Subject: [PATCH] correct static path for CM modes autoload this shoudl also allow to require CM python mode for ipython mode and only pass a config options. --- IPython/html/static/notebook/js/codecell.js | 1 - IPython/html/templates/notebook.html | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/IPython/html/static/notebook/js/codecell.js b/IPython/html/static/notebook/js/codecell.js index e37cfe45c..a7bc26a8d 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 6662c68d0..b52bae9df 100644 --- a/IPython/html/templates/notebook.html +++ b/IPython/html/templates/notebook.html @@ -204,6 +204,9 @@ class="notebook_app" {{super()}} +