;ELC
|
;;; Compiled
|
;;; in Emacs version 26.1
|
;;; with all optimizations.
|
|
;;; This file uses dynamic docstrings, first added in Emacs 19.29.
|
|
;;; This file does not contain utf-8 non-ASCII characters,
|
;;; and so can be loaded in Emacs versions earlier than 23.
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
(require 'ob)
|
#@46 Default header arguments for js code blocks.
|
(defvar org-babel-default-header-args:js nil (#$ . 422))
|
#@51 String to indicate that evaluation has completed.
|
(defvar org-babel-js-eoe "org-babel-js-eoe" (#$ . 530))
|
(byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313& \207" [custom-declare-variable org-babel-js-cmd funcall function #[0 "\300\207" [#1="node"] 1 #1#] "Name of command used to evaluate js blocks." :group org-babel :version "24.1" :type string] 10)
|
#@41 Javascript code to print value of body.
|
(defvar org-babel-js-function-wrapper "require('sys').print(require('sys').inspect(function(){\n%s\n}()));" (#$ . 902))
|
#@127 Execute a block of Javascript code with org-babel.
|
This function is called by `org-babel-execute-src-block'
|
|
(fn BODY PARAMS)
|
(defalias 'org-babel-execute:js #[514 "\306\236A\206 \307\236A\310\311!#\312\236A\313\230\204\324 \314\312\236A\"\315!\204/ \316\317\"\210\320 \321\322\323\324\325!\326\"\327$\216rq\210\212\330\331C\321\332\333\324\325!\334\"\335\336%\nB\337\340\341p!!b\210`d{\262|\266\342\343 \344\345\"D\"\210\fb\210\212\346\347\344\345\"!\337\350#\205\212 \346 \337\350#)\204\227 \351\341p!!\210\202t \340\341p!!b\210\211c\210\203\302 \352\353\354\355\347\f\206\261 \331!#\242\"\203\302 \211\242\322\225\337O\240\210\356\242 \")\266\202,\262A@\262\202\357\360!\211\361\362\363!!\321\322\364\324\325!\365\"\366$\216r\211q\210\367\230\203\373 \344@\"\202\374 c\210)r\211q\210\370\337\211\337\322%\210*\266\371\344\372\373!#\331\"\262\374\236A\313\235?\205\200\375\235\204w\376\235\204w\377\235\204w\201A \235\204w\201B \235\204w\201C \235\204w\201D \235\204o\201E \235\204o\201F \235\204o\201G \235\203{\201H \235\204{\202\200\201I !\262)\207" [org-babel-js-cmd comint-input-filter comint-output-filter-functions org-babel-js-eoe comint-last-input-end comint-prompt-regexp :cmd :result-type org-babel-expand-body:generic org-babel-variable-assignments:js :session "none" org-babel-prep-session:js org-babel-comint-buffer-livep error "Buffer %s does not exist or has no process" match-data make-byte-code 0 "\301\300\302\"\207" vconcat vector [set-match-data evaporate] 3 #[257 "\300\207" [nil] 2 "\n\n(fn INPUT)"] "" 257 "\300\211\242P\240\207" [] 4 "\n\n(fn TEXT)" nil process-mark get-buffer-process mapc #[257 "\300!c\210\301\302\303\"\207" [org-babel-chomp comint-send-input nil t] 4 "\n\n(fn LINE)"] format "%S" re-search-forward regexp-quote t accept-process-output string-match replace-regexp-in-string "\n" "[ \n]+" split-string org-babel-temp-file "js-script-" get-buffer-create generate-new-buffer-name " *temp file*" "\301\300!\205 |