coffeescripts/shuriken.coffee in shuriken-0.1.3.1 vs coffeescripts/shuriken.coffee in shuriken-0.1.4
- old
+ new
@@ -48,11 +48,12 @@
currentNS: currentNS[name]
currentNS
base.getRootNS: ->
current: @
- current: current.parent while current.parent?
+ while current.parent?
+ current: current.parent
current
base.hasNS: (namespace) ->
@getNS(namespace)?
@@ -127,6 +128,6 @@
ns
Shuriken.root: @
@['Shuriken']: Shuriken
-)()
\ No newline at end of file
+)()