Comparing version 1.0.4 to 1.0.5
@@ -157,10 +157,16 @@ 'use strict'; | ||
var self = this; | ||
module.exports = function(input, output, fn) { | ||
module.exports = self.takeout(); | ||
return self; | ||
}; | ||
Datamodel.prototype.takeout = function () { | ||
var self = this; | ||
return function(input, output, fn) { | ||
self.apply(input, output, fn); | ||
} | ||
return self; | ||
}; | ||
module.exports = function (options) { | ||
return new Datamodel(options); | ||
} |
{ | ||
"name": "datamodel", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"author": "Nicolas Thouvenin <nthouvenin@gmail.com>", | ||
@@ -14,3 +14,3 @@ "contributors": [], | ||
], | ||
"homepage": "http://github.com/touv/node-datamodel", | ||
"homepage": "http://github.com/castorjs/node-datamodel", | ||
"scripts": { | ||
@@ -22,3 +22,3 @@ "test": "./node_modules/.bin/istanbul test ./node_modules/.bin/_mocha -- -R spec" | ||
"type": "git", | ||
"url": "https://github.com/touv/node-datamodel.git" | ||
"url": "https://github.com/castorjs/node-datamodel.git" | ||
}, | ||
@@ -25,0 +25,0 @@ "dependencies": {}, |
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
19256
507