Created
May 22, 2012 08:43
-
-
Save gregstewart/2767657 to your computer and use it in GitHub Desktop.
Global Namespace checker - simplified (for Jasmine)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_global_namespace_things = []; | |
var _captured_global_namespace = this; | |
for (var prop in _captured_global_namespace) { | |
_global_namespace_things.push(prop); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment