aboutsummaryrefslogtreecommitdiff
path: root/test/tests/global-encapsulation.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/tests/global-encapsulation.js')
-rw-r--r--test/tests/global-encapsulation.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/tests/global-encapsulation.js b/test/tests/global-encapsulation.js
new file mode 100644
index 000000000..b480da8ae
--- /dev/null
+++ b/test/tests/global-encapsulation.js
@@ -0,0 +1,3 @@
+(function(g) {
+ g.globalName = 'encapsulated global';
+})(typeof window != 'undefined' ? window : global); \ No newline at end of file