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: | Clippy |
---|---|
Location: | Houston, TX |
Users: | 4 |
Nodes: | 4 (0 / 4) |
Uptime: | 215:40:10 |
Calls: | 1 |
Files: | 11 |
Messages: | 38,214 |