coffeescripts/shuriken.coffee in shuriken-0.1.2 vs coffeescripts/shuriken.coffee in shuriken-0.1.2.1
- old
+ new
@@ -109,15 +109,14 @@
@parent: parent
@baseNS: sharedPrototype
@children: []
parent.hasChildNamespace(@) if parent?
@
- namespace.prototype: sharedPrototype
- new namespace name, parent
+ namespace.prototype: sharedPrototype
+ new namespace name, parent
Shuriken.defineExtension: (closure) ->
for namespace in Shuriken.namespaces
- console.log namespace
scopedClosure closure, namespace
Shuriken.extensions.push closure
Shuriken.as: (name) ->
ns: makeNS name
\ No newline at end of file