revertNamespace
Object
revertNamespace
(
)
Reverts the current namespace.
Utils.replaceNamespace("SomeNamespace", Utils.Revertable)
var NewNamespace = SomeNamespace.revertNamespace()
This will rename SomeNamespace as NewNameSpace and restore the previous contents of SomeNamespace.
- Returns:
Object - the namespace object