WinJS - Namespaces
In my last post I explained a little about scope in JavaScript and why you should (and the default templates do) wrap each of your files in a self executing function.
One note about my code snippets. For simplicity I will be concatenating what would in a real application be multiple .js files into a single code snippet. I’ll use comments to show you where the files break.