aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xBUILD/BUILD.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/BUILD/BUILD.js b/BUILD/BUILD.js
index b7c5ed24..e7e17d1e 100755
--- a/BUILD/BUILD.js
+++ b/BUILD/BUILD.js
@@ -72,6 +72,9 @@ code += ["\n",
"}",
"else {",
" // Global Variables",
+"if (!window && this){ ",
+" window = this;",
+" }",
" window.faker = faker;",
"}",
"",