Fix typo, start new release preview

This commit is contained in:
Anatoliy Chakkaev 2012-10-16 13:12:34 +04:00
parent 575a29d4af
commit 4fe9759afc
2 changed files with 2 additions and 3 deletions

View File

@ -313,7 +313,6 @@ AbstractClass.all = function all(params, cb) {
} }
var constr = this; var constr = this;
this.schema.adapter.all(this.modelName, params, function (err, data) { this.schema.adapter.all(this.modelName, params, function (err, data) {
var collection = null;
if (data && data.map) { if (data && data.map) {
data.forEach(function (d, i) { data.forEach(function (d, i) {
var obj = new constr; var obj = new constr;
@ -321,7 +320,7 @@ AbstractClass.all = function all(params, cb) {
data[i] = obj; data[i] = obj;
}); });
if (data && data.countBeforeLimit) { if (data && data.countBeforeLimit) {
collection.countBeforeLimit = data.countBeforeLimit; data.countBeforeLimit = data.countBeforeLimit;
} }
cb(err, data); cb(err, data);
} }

View File

@ -1,7 +1,7 @@
{ {
"name": "jugglingdb", "name": "jugglingdb",
"description": "ORM for every database: redis, mysql, neo4j, mongodb, postgres, sqlite", "description": "ORM for every database: redis, mysql, neo4j, mongodb, postgres, sqlite",
"version": "0.1.23", "version": "0.1.24-pre",
"author": "Anatoliy Chakkaev <rpm1602@gmail.com>", "author": "Anatoliy Chakkaev <rpm1602@gmail.com>",
"contributors": [ "contributors": [
{ "name": "Anatoliy Chakkaev", "email": "rpm1602@gmail.com" }, { "name": "Anatoliy Chakkaev", "email": "rpm1602@gmail.com" },