Skip to content

Commit e732250

Browse files
committed
correct require() syntax
1 parent 52076e3 commit e732250

File tree

1 file changed

+2
-2
lines changed
  • src/jupyter_contrib_nbextensions/nbextensions/python-markdown

1 file changed

+2
-2
lines changed

src/jupyter_contrib_nbextensions/nbextensions/python-markdown/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ define([
2020
"use strict";
2121

2222
var marked = null;
23-
requirejs('nbextensions/python-markdown/marked.min',
23+
requirejs(['nbextensions/python-markdown/marked.min'],
2424
function(marked_local) {
2525
marked = marked_local.marked;
2626
},
2727
function(e_ignored) {
2828
// fall back to components for v<6.
29-
requirejs('components/marked/lib/marked',
29+
requirejs(['components/marked/lib/marked'],
3030
function(marked_compat) {
3131
marked = marked_compat;
3232
},

0 commit comments

Comments
 (0)