summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-10-13 16:12:43 -0400
committerEliot Horowitz <eliot@10gen.com>2009-10-13 16:12:43 -0400
commit9355cc739e8aaf5df1c11187cc0de94fa82ac916 (patch)
treebef9e80211a8dbb8d7bbcc8da92f4ae652cb5e8a /shell
parentca9747f9cc34bd822c47f37b5629ea0d16fdd851 (diff)
downloadmongo-9355cc739e8aaf5df1c11187cc0de94fa82ac916.tar.gz
v8: some more stuff working, checkpoint
Diffstat (limited to 'shell')
-rw-r--r--shell/utils.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/utils.js b/shell/utils.js
index 3495a7901ab..0a5cb437f92 100644
--- a/shell/utils.js
+++ b/shell/utils.js
@@ -600,6 +600,12 @@ Map.prototype.values = function(){
return all;
}
+if ( typeof( gc ) == "undefined" ){
+ gc = function(){
+ }
+}
+
+
Math.sigFig = function( x , N ){
if ( ! N ){
N = 3;