Subj : Couple of JS Questions
To : Digital Man
From : Apam
Date : Tue May 24 2022 10:18 am
-=> On Mon May 23 11:49:00 2022, Digital Man wrote to Apam <=-
> load(), require() and js.exec() are used to execute a JS file from a JS file.
I think I need to use js.exec.apply() so I can pass the query argument.. but can't seem to find any information on it..
I see it's used in install-xtrn
var result = js.exec.apply(null
,[js_file, item.startup_dir, {}].concat(js_args));
but unsure what that first null is.
Andrew
--
Andrew Pamment (apam)
=== TitanMail/linux v1.1.5
---
� Synchronet � The Positronic Brain