Wrap them in function… is whats recommended…
seriously? yuk. that needs to be fixed. guess I can't complain too much.
ok I tried it, seems to be a problem with using anon functions and // @include
not sure what is going on, but it throws all kinds of errors from my external library. any ideas?
seems to work fine with a regular function, could just do that I guess, not as clean though.
This is where my JS is weak… From what I understand the engine while debugging AI is persistent and they recommend function wrappers for your variables… I come from the Art & AppleScript side not programming so some of this stuff passes harmlessly overhead…