I have noticed that when I'm working on JS projects for the board, if I do something dumb that crashes the script, sometimes it affects other javascript components on the board.
For example, say I'm writing a game, and I leave out a curly brace or something. The BBS will throw an error. I'll fix my code, but then later when I go to post a message, SlyEdit crashes on launch with the error "time is not a function."
I have seen this "time is not a function" many times with other JS parts of the board, like games. It only happens if I did something in my own code that errored out first.
The only fix is to reboot the machine.
I have noticed that when I'm working on JS projects for the board, if
I do something dumb that crashes the script, sometimes it affects
other javascript components on the board.
For example, say I'm writing a game, and I leave out a curly brace or
something. The BBS will throw an error. I'll fix my code, but then
later when I go to post a message, SlyEdit crashes on launch with the
error "time is not a function."
time() is a global function (a.k.a. method) in the Synchronet object model, so it is possible that if your script executes in the same context and somehow deletes or overwrites the time() function that could trigger the error, but I don't think that would be normal.
Sysop: | fluid |
---|---|
Location: | wickliffe, ohio |
Users: | 5 |
Nodes: | 10 (0 / 10) |
Uptime: | 203:06:37 |
Calls: | 50 |
Files: | 15,838 |
Messages: | 50,766 |