News for hackers. Stuff that matters.
Re:Extending Your jQuery Application with Amplify.js by euroclydon on Wednesday April 27, 2011 @10:32AM (#2489600)
I gave up writing my "JavaScript Applications" in a closure the way you see in this tutorial. The reason is, there's no good documentation tool that will parse it. I'd much rather use namespaces to keep my code from polluting the global namespace and then I can use jsDoc.

   /** @namespace */
   var MyApp = {}
   
   /** My Class
   * @constructor
   * @param {Object} options
   */
   MyApp.MyClass = function(options) {
   ...
   };
Re:Extending Your jQuery Application with Amplify.js by MatthewPhillips on Wednesday April 27, 2011 @11:00AM (#2489701)
should be: var MyApp = MyApp || {};