Factory Function File Pattern

Tuesday, March 17th, 2009

You know, I'm not very big fan of factory functions, nevertheless, I'm aware of the fact that they may be necessary in some situations. Here is the file pattern that works (briefly tested). Keep each factory function in a separate file name of which should be Namespace.Factory.functionName.js // vim: ts=4:sw=4:nu:fdc=4:nospell /*global Ext, MyNamespace ...