Skip to content

Commit ed4c5af

Browse files
committed
load marked.cjs
1 parent a155b73 commit ed4c5af

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

nbclassic/static/base/js/namespace.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ define(function(){
7373
// tree
7474
jglobal('SessionList','tree/js/sessionlist');
7575

76-
Jupyter.version = "0.5.3";
76+
Jupyter.version = "0.6.0.dev0";
7777
Jupyter._target = '_blank';
7878

7979
return Jupyter;

setupbase.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def find_package_data():
145145
pjoin(components, "jquery-ui", "dist", "jquery-ui.min.js"),
146146
pjoin(components, "jquery-ui", "dist", "themes", "smoothness", "jquery-ui.min.css"),
147147
pjoin(components, "jquery-ui", "dist", "themes", "smoothness", "images", "*"),
148-
pjoin(components, "marked", "lib", "marked.js"),
148+
pjoin(components, "marked", "lib", "marked.cjs"),
149149
pjoin(components, "react", "react.production.min.js"),
150150
pjoin(components, "react", "react-dom.production.min.js"),
151151
pjoin(components, "requirejs", "require.js"),
@@ -418,7 +418,7 @@ def run(self):
418418
env=env
419419
)
420420
# Copy the CommonJS files to their JavaScript equivalent to ensure correct loading.
421-
shutil.copyfile(pjoin(self.bower_dir, "marked", "lib", "marked.cjs"), pjoin(self.bower_dir, "marked", "lib", "marked.js"))
421+
# shutil.copyfile(pjoin(self.bower_dir, "marked", "lib", "marked.cjs"), pjoin(self.bower_dir, "marked", "lib", "marked.js"))
422422
except OSError as e:
423423
print("Failed to run bower: %s" % e, file=sys.stderr)
424424
print("You can install js dependencies with `npm install`", file=sys.stderr)

0 commit comments

Comments
 (0)