Subj : Variables declared in required libraries
To : Digital Man
From : Nightfox
Date : Wed Sep 25 2019 02:54 pm
Re: Variables declared in required libraries
By: Digital Man to Nightfox on Wed Sep 25 2019 02:25 pm
> I moved some KEY_* defines from sbbsdefs.js to a new file: load/key_defs.js
> and in there added some CTRL_* key definitions that are commonly used
> (CTRL_A - CTRL_Z).
>
> I'm guessing that one of your require() statements is checking for a symbol
> that's now defined by sbbsdefs.js->key_defs.js, so your load-lib isn't being
> loaded. Changing the symbol being checked for in the require() call should
> fix that.
Aside from the SlyEdit scripts, the only libraries it calls require() to load are sbbsdefs.js and dd_lightbar_menu.js (which I wrote). With sbbsdefs.js, it uses K_NOCRLF for the symbol being checked, and it looks like K_NOCRLF is still in sbbsdefs.js. So I'm not sure what else I could look for.
Nightfox
---
� Synchronet � Digital Distortion: digitaldistortionbbs.com