express-orm-mvc
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -18,3 +18,3 @@ /** | ||
callback = opt; | ||
opt = null; | ||
opt = {}; | ||
} | ||
@@ -21,0 +21,0 @@ |
{ | ||
"name": "express-orm-mvc", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Express + ORM MVC", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -183,3 +183,3 @@ [Express](https://github.com/visionmedia/express) + [ORM](https://github.com/dresende/node-orm2) MVC | ||
```js | ||
module.exports = function(app) { | ||
module.exports = function(app, express) { | ||
//any express config here | ||
@@ -186,0 +186,0 @@ }; |
@@ -10,6 +10,3 @@ var expect = require('chai').expect; | ||
it("error should be null", function(done) { | ||
mvc({ | ||
// path: __dirname, | ||
mode: 'development' | ||
}, function(err, express_instance, db) { | ||
mvc(function(err, express_instance, db) { | ||
app = express_instance; | ||
@@ -16,0 +13,0 @@ database = db; |
19944
395