summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJeremiah Senkpiel <fishrock123@rocketmail.com>2016-03-23 18:09:10 -0400
committerJeremiah Senkpiel <fishrock123@rocketmail.com>2016-03-30 19:59:10 -0400
commit21d66d621c5b1ce27498fcb1cb846fd34fce4234 (patch)
tree2429309d18c9a91432bcb5eebb63e050f207e493 /lib
parentea47cc41e6cd96e9598db9c2ed0492c8fe952445 (diff)
downloadandroid-node-v8-21d66d621c5b1ce27498fcb1cb846fd34fce4234.tar.gz
android-node-v8-21d66d621c5b1ce27498fcb1cb846fd34fce4234.tar.bz2
android-node-v8-21d66d621c5b1ce27498fcb1cb846fd34fce4234.zip
lib: remove bootstrap global context indirection
PR-URL: https://github.com/nodejs/node/pull/5881 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/internal/bootstrap_node.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/internal/bootstrap_node.js b/lib/internal/bootstrap_node.js
index 21f7120677..58d78b5490 100644
--- a/lib/internal/bootstrap_node.js
+++ b/lib/internal/bootstrap_node.js
@@ -8,7 +8,6 @@
'use strict';
(function(process) {
- this.global = this;
function startup() {
var EventEmitter = NativeModule.require('events');
@@ -211,7 +210,6 @@
function setupGlobalVariables() {
global.process = process;
- global.global = global;
const util = NativeModule.require('util');
// Deprecate GLOBAL and root