Comparing version 0.1.4 to 0.1.5
@@ -73,5 +73,2 @@ var mongo = require('mongodb'); | ||
}; | ||
Cursor.prototype.toArray = function() { | ||
this._exec('toArray', arguments); | ||
}; | ||
Cursor.prototype.sort = function() { | ||
@@ -124,3 +121,3 @@ return this._config('sort', arguments); | ||
oncursor.get(common.fork(callback, function(cur) { | ||
cur.toArray(callback); | ||
cur.toArray(normalize(callback)); | ||
})); | ||
@@ -127,0 +124,0 @@ } |
{ | ||
"name":"mongojs", | ||
"description":"a simple mongo module that emulates the mongo api", | ||
"version":"0.1.4", | ||
"version":"0.1.5", | ||
"author": "Ge.tt <hello@ge.tt>", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
8110
230