Skip to content

Commit

Permalink
correct require() syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
johnjbarton committed May 8, 2023
1 parent 52076e3 commit e732250
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
},
Expand Down

0 comments on commit e732250

Please sign in to comment.