"RequireJS is a JavaScript file and module loader"
While looking at some of the familiar namespacing patterns for JavaScript, I stumbled upon RequireJs.
Namespacing is essential in JavaScript to provide scope to your code in order to prevent conflicts with other variables, objects or functions with the same name that could have been loaded into the global namespace or scope.
There are no official namespaces in JavaScript but this can be achieved using objects and closures.
A technical blog, from the minds of the Microsoft BI and Custom Dev teams at EOH.
Showing posts with label Namespace. Show all posts
Showing posts with label Namespace. Show all posts
Friday, August 3, 2012
Thursday, July 19, 2012
More or Less
Ever wish you could do more with css by writing less repetitive styles?
Introducing less: “The dynamic stylesheet language.”
In summary, by using less you can focus on writing styles in one place and reusing them where needed, even conditional styles which ultimately just compile back to native css.
Subscribe to:
Posts (Atom)