diff options
author | Arun Isaac | 2024-10-08 01:20:15 +0100 |
---|---|---|
committer | Arun Isaac | 2024-10-08 01:20:15 +0100 |
commit | 037d37c68d16952ea769ac1e65f727a9df742dd3 (patch) | |
tree | 20a69b4076d15937a283d114a7fd1fe6223f74c4 | |
parent | b304a0949b6c77f4b2a58d0156284472dc2fc36f (diff) | |
download | ravanan-037d37c68d16952ea769ac1e65f727a9df742dd3.tar.gz ravanan-037d37c68d16952ea769ac1e65f727a9df742dd3.tar.lz ravanan-037d37c68d16952ea769ac1e65f727a9df742dd3.zip |
javascript: Handle node calls without context.
* ravanan/javascript.scm (evaluate-using-node): Handle cases when
context is #f.
-rw-r--r-- | ravanan/javascript.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ravanan/javascript.scm b/ravanan/javascript.scm index 5ee7cc8..a416d27 100644 --- a/ravanan/javascript.scm +++ b/ravanan/javascript.scm @@ -133,7 +133,8 @@ the node javascript engine." . value) (set-variable name value)) (_ #f)) - context)))) + (or context + (list)))))) (if context ;; Evaluate immediately. |