Print properly formatted object

This commit is contained in:
Anatoliy Chakkaev 2012-10-16 03:15:29 +04:00
parent 96e9079977
commit 575a29d4af
2 changed files with 5 additions and 1 deletions

View File

@ -866,6 +866,10 @@ function defineScope(cls, targetClass, name, params, methods) {
}
}
AbstractClass.prototype.inspect = function () {
return util.inspect(this.__data, false, 4, true);
};
/**
* Check whether `s` is not undefined

View File

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