From e73225029fed29fd7ce0ebbb62ea09f130c42216 Mon Sep 17 00:00:00 2001 From: johnjbarton Date: Mon, 8 May 2023 08:52:55 -0700 Subject: [PATCH] correct require() syntax --- .../nbextensions/python-markdown/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jupyter_contrib_nbextensions/nbextensions/python-markdown/main.js b/src/jupyter_contrib_nbextensions/nbextensions/python-markdown/main.js index 7d15b465b..de9f01e6d 100644 --- a/src/jupyter_contrib_nbextensions/nbextensions/python-markdown/main.js +++ b/src/jupyter_contrib_nbextensions/nbextensions/python-markdown/main.js @@ -20,13 +20,13 @@ define([ "use strict"; var marked = null; - requirejs('nbextensions/python-markdown/marked.min', + requirejs(['nbextensions/python-markdown/marked.min'], function(marked_local) { marked = marked_local.marked; }, function(e_ignored) { // fall back to components for v<6. - requirejs('components/marked/lib/marked', + requirejs(['components/marked/lib/marked'], function(marked_compat) { marked = marked_compat; },