Namespace-in-CoffeeScript
Namespace-in-CoffeeScript copied to clipboard
pattern to simulate namespace in coffeescript
Issue fix: https://github.com/MaksJS/Namespace-in-CoffeeScript/issues/3
Trying to use it something like this within Node.js No matter what I do, it can never find the namespace module `package.json` ``` "dependencies": { "express": "3.4.4", "jquery": "*", "coffee-script":...
``` namespace Test:Any: class Some constructor: -> console.log 42 namespace Test: class Any constructor: -> console.log 23 ``` ``` new Test.Any; # 42 new Test.Any.Some; # Error (undefined) ``` fail...