File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ define([
202
202
203
203
// CHROME: TODO: 4: marked is not loaded, before fix it comment it
204
204
if ( vpConfig . extensionType === 'notebook' ) {
205
- var marked = require ( 'marked' ) ;
205
+ var marked = require ( 'components/marked/lib/ marked' ) ;
206
206
var renderer = new marked . Renderer ( ) ;
207
207
208
208
// get block
@@ -223,7 +223,6 @@ define([
223
223
} ) ;
224
224
} else if ( vpConfig . extensionType === 'lab' ) {
225
225
var marked = require ( 'marked' ) ;
226
- var renderer = new marked . Renderer ( ) ;
227
226
228
227
// get block
229
228
let block = this . getTaskType ( ) == 'block' ? this . taskItem : null ;
Original file line number Diff line number Diff line change 15
15
require . config ( {
16
16
paths : {
17
17
'vp_base' : '../nbextensions/visualpython' ,
18
- 'css' : 'vp_base/lib/require/css.min'
18
+ 'css' : 'vp_base/lib/require/css.min' ,
19
+ 'mathjaxutils' : 'notebook/js/mathjaxutils'
19
20
} ,
20
21
config : {
21
22
text : {
You can’t perform that action at this time.
0 commit comments