Misty thoughts

11May/100

Namespacing and setTimeOut in Javascript

It is good practice to put all of your javascript code in its own namespace. When doing so in combination with setTimeOut timer function it is important to remember that the object evoking the function will be the DOM window and not your namespace object. Therefore it is needed to add the namespace before the name of the function called.

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.