Comments on: A JavaScript Module PatternNews and Artilces about Designing and Developing with Yahoo! Libraries.By: Rowan- September 14, 2008 You could write in the following fashion to enable both public and private methods to be able to call all methods var myFunction = function() private var privateFunction = function() publicFunction(); public var publicFunction = function() return this; return publicFunction : publicFunction ();http://yuiblog.com/blog/2007/06/12/module-pattern/#comment-470341 By: matt h- September 8, 2008 In step 3: "The private variables myPrivateProperty and myPrivateMethod can only be accessed from within the anonymous function..." It should read: "The private variables myPrivateVar and myPrivateMethod can only be accessed from within the anonymous function...http://yuiblog.com/blog/2007/06/12/module-pattern/#comment-466518 By: 10 Promising JavaScript Frameworks - Six Revisions- September 4, 2008 ... June Framework was inspired by the Core library and uses the Module design pattern. For those using MS Visual Studio 2008, youll love the documentation that comes with the ...http://yuiblog.com/blog/2007/06/12/module-pattern/#comment-462802 |