diff options
author | agirbal <antoine@10gen.com> | 2011-07-03 18:47:14 -0700 |
---|---|---|
committer | agirbal <antoine@10gen.com> | 2011-07-03 18:47:14 -0700 |
commit | 5dcc4f9d49173b5e67909714f3bf39f918d2398a (patch) | |
tree | 7a412611a9b4d00cea2791aec7ec3dc6b646b35e /shell | |
parent | 758a9c734164ecda21cdc5f96436fed88bdfd24f (diff) | |
download | mongo-5dcc4f9d49173b5e67909714f3bf39f918d2398a.tar.gz |
SERVER-854: NumberInt implemented in SM
Diffstat (limited to 'shell')
-rw-r--r-- | shell/utils.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/shell/utils.js b/shell/utils.js index 1ced646c304..d27c29f8b51 100644 --- a/shell/utils.js +++ b/shell/utils.js @@ -455,13 +455,13 @@ NumberLong.prototype.tojson = function() { return this.toString(); } -//if ( ! NumberInt.prototype ) { -// NumberInt.prototype = {} -//} +if ( ! NumberInt.prototype ) { + NumberInt.prototype = {} +} -//NumberInt.prototype.tojson = function() { -// return this.toString(); -//} +NumberInt.prototype.tojson = function() { + return this.toString(); +} if ( ! ObjectId.prototype ) ObjectId.prototype = {} |