This commit is contained in:
Anatoliy Chakkaev 2012-11-03 06:33:03 +04:00
parent 83695513f9
commit cdef6aea8a
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ exports.AbstractClass = require('./lib/abstract-class').AbstractClass;
exports.Validatable = require('./lib/validatable').Validatable;
exports.init = function (rw) {
if (global.railway) {
if (typeof rw === 'string') {
railway.orm = exports;
} else {
rw.orm = {Schema: exports.Schema, AbstractClass: exports.AbstractClass};

View File

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