This is a case of lazy or ignorant programming! The first rule (or at least one rule) of good programming is do not create global variables/code when local is all that's required.
I try to keep all my code in my own objects. This way I create a single global object and everything else is inside of that.
You can blame the DominoWiki programmer but the Google programmer could have done the same thing, knowing that his/her code will be loaded into a completely unknown environment.
This is a case of lazy or ignorant programming! The first rule (or at least one rule) of good programming is do not create global variables/code when local is all that's required.
I try to keep all my code in my own objects. This way I create a single global object and everything else is inside of that.
You can blame the DominoWiki programmer but the Google programmer could have done the same thing, knowing that his/her code will be loaded into a completely unknown environment.