Skip to content

Commit 21b4227

Browse files
committed
Revert for node.js string
1 parent 50ac4b3 commit 21b4227

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jupyter_contrib_nbextensions/nbextensions/code_prettify/code_prettify.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ define(function(requirejs, exports, module) {
4141
"postfix": ", output=FALSE)[['text.tidy']], collapse='\n')))"
4242
},
4343
"javascript": {
44-
"library": "jsbeautify = requirejs(" + "'js-beautify')",
44+
"library": "jsbeautify = require(" + "'js-beautify')",
4545
// we do this + trick to prevent require.js attempting to load js-beautify when processing the AMI-style load for this module
4646
"prefix": "console.log(JSON.stringify(jsbeautify.js_beautify(",
4747
"postfix": ")));"

0 commit comments

Comments
 (0)