Create a jQuery like chainable JavaScript toolbox for your project

added by novogeek
5/30/2010 8:20:27 AM

1 Kicks, 84 Views

"Global variables are evil" is what the JavaScript Guru Douglas Crockford says, as they are the source of unreliability and insecurity. How elegant your code would be if you wrap your entire project's code under a single global namespace? In this article, I would like to show how you can create a chainable JavaScript library(not a library exactly, but sort of a toolbox) specific to your project.