Tagged Questions
0
votes
1answer
156 views
With AMD style modules in JavaScript is there any benefit to namespaces?
Coming from C++ originally and seeing lots of Java programmers doing the same we brought namespaces to JavaScript. See Google's closure library as an example where they have a main namespace, goog and ...
4
votes
3answers
244 views
How should modules access data outside their scope? [closed]
I run into this same problem quite often. First, I create a namespace and then add modules to this namespace. Then issue I always run into is how best to initialize the application? Naturally, each ...