Permalink
Browse files

0.1.27

  • Loading branch information...
1 parent 8369551 commit cdef6aea8aa81c7946e8646a82572aa9fcbd33a1 @1602 committed Nov 3, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 index.js
  2. +1 −1 package.json
View
2 index.js
@@ -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
2 package.json
@@ -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" },

0 comments on commit cdef6ae

Please sign in to comment.