Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/rewire.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Ewald <johannes.ewald@peerigon.com>2015-11-16 00:02:50 +0300
committerJohannes Ewald <johannes.ewald@peerigon.com>2015-11-16 00:02:50 +0300
commita7bdea28cca4bf37ad43e4948997b0af48822d6a (patch)
treeb7e65b3ab890045ec4ee21f74c49dad24d779ea4 /testLib/implicitGlobal.js
parent5a8ba82b39f69f3750ddf83c6f6fc6f6e2ecb2a2 (diff)
Move testLib into dedicated folder inside root folder
Diffstat (limited to 'testLib/implicitGlobal.js')
-rw-r--r--testLib/implicitGlobal.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/testLib/implicitGlobal.js b/testLib/implicitGlobal.js
new file mode 100644
index 0000000..3048742
--- /dev/null
+++ b/testLib/implicitGlobal.js
@@ -0,0 +1,6 @@
+implicitGlobal = "this is an implicit global var ..." +
+ "yes, it's bad coding style but there are still some libs out there";
+
+module.exports = function () {
+ return undefinedImplicitGlobal;
+};