• exec/load/xjs.js

    From echicken@VERT to Git commit to sbbs/master on Wednesday, October 07, 2020 21:36:27
    Modified Files:
    Log Message:
    Don't shit pants if 'cwd' isn't a thing or a string.
    Added xjs_eval(filename, str)
    - notionally for evaluating XJS without immediate write
    - if str, returns the evaluated script as a string
    - if !str, returns the filename that the script was dumped to
    - was a fun idea, but doesn't play well with other scripts
    - best used with simple and self-contained xjs

    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net