Thread:Slyst/@comment-8865495-20150815045554/@comment-25508186-20150815065205

There is no difference in the actual working of the code.

rswiki has an extremely organized method of handling javascript (/any code in general). Chunks of code are stored in the  object with   and   keys, and they are executed later in the init function based on.

To sum it up, the first one would run every time, whereas the second one would run only if  returns true.