summaryrefslogtreecommitdiff
path: root/deps/v8/tools/splaytree.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/tools/splaytree.js')
-rw-r--r--deps/v8/tools/splaytree.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/tools/splaytree.js b/deps/v8/tools/splaytree.js
index 3045456dc..7b3af8b99 100644
--- a/deps/v8/tools/splaytree.js
+++ b/deps/v8/tools/splaytree.js
@@ -28,7 +28,8 @@
// A namespace stub. It will become more clear how to declare it properly
// during integration of this script into Dev Tools.
-goog = { structs: {} };
+var goog = goog || {};
+goog.structs = goog.structs || {};
/**
@@ -94,7 +95,6 @@ goog.structs.SplayTree.prototype.insert = function(key, value) {
};
-
/**
* Removes a node with the specified key from the tree if the tree
* contains a node with this key. The removed node is returned. If the