diff options
author | Evan Lucas <evanlucas@me.com> | 2016-01-14 10:54:04 -0600 |
---|---|---|
committer | Evan Lucas <evanlucas@me.com> | 2016-01-18 10:57:45 -0600 |
commit | ff64a4c3951a945e372160ec7405264d72ff92dd (patch) | |
tree | 528ea52fe3e4bcd60431457b7c509ed9aac26db7 /test/fixtures/define-global.js | |
parent | 8d0ca107520347ec1aad049088b0577398262e14 (diff) | |
download | android-node-v8-ff64a4c3951a945e372160ec7405264d72ff92dd.tar.gz android-node-v8-ff64a4c3951a945e372160ec7405264d72ff92dd.tar.bz2 android-node-v8-ff64a4c3951a945e372160ec7405264d72ff92dd.zip |
node: allow preload modules with -i
This gives us the ability to preload when using the node repl. This can
be useful for doing things like creating aliases.
Fixes: https://github.com/nodejs/node/issues/4661
PR-URL: https://github.com/nodejs/node/pull/4696
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/fixtures/define-global.js')
-rw-r--r-- | test/fixtures/define-global.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/fixtures/define-global.js b/test/fixtures/define-global.js new file mode 100644 index 0000000000..82b6a5a72c --- /dev/null +++ b/test/fixtures/define-global.js @@ -0,0 +1 @@ +global.a = 'test'; |