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: | Chris Crash |
---|---|
Location: | Huntington Beach, CA. |
Users: | 578 |
Nodes: | 8 (0 / 8) |
Uptime: | 04:47:27 |
Calls: | 10,736 |
Files: | 5 |
Messages: | 443,460 |