lang/org (babel): sys.print -> console.log
Update ob-js's wrapper for js babel blocks. sys.print was deprecated and removed in later versions of node.
This commit is contained in:
parent
1e286da278
commit
768ed10dc3
1 changed files with 4 additions and 1 deletions
|
@ -113,7 +113,10 @@
|
||||||
collect p))
|
collect p))
|
||||||
|
|
||||||
(when (featurep! +ipython)
|
(when (featurep! +ipython)
|
||||||
(load! "contrib/ipython")))
|
(load! "contrib/ipython"))
|
||||||
|
|
||||||
|
;; Fixes for various babel plugins
|
||||||
|
(setq org-babel-js-function-wrapper "console.log(require('util').inspect(function(){\n%s\n}()));"))
|
||||||
|
|
||||||
|
|
||||||
(defun +org|init-babel-lazy-loader ()
|
(defun +org|init-babel-lazy-loader ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue