You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I stole the parser.js code from OmnomIRC as is (well, stole, it's under GPL and it's properly credited), but yeah I should totally clean that code with something more efficient. (Why did I even do that, especially the 2nd point you made o.o)
I've noticed a couple places where you do:
While this works, it's a little less efficient then just chaining the replaces together, like this:
public/parse.js#L15
I've also noticed a ton of this:
Which can be replaced with something similar to this:
It should be easy enough to read, plus it also will perform a tiny bit faster due to not having to figure out variable references etc.
public/main.js#L21
public/main.js#L37
public/main.js#L53
public/parse.js#96
The text was updated successfully, but these errors were encountered: