viewmodel
Advanced tools
Comparing version 0.4.9 to 0.4.10
@@ -361,5 +361,11 @@ var cradle = require('cradle') | ||
extend: function(obj) { | ||
return _.extend(_.clone(this, true), obj); | ||
var res = _.assign(_.assign({}, this), obj); | ||
for (var f in this) { | ||
if (_.isFunction(this[f])) { | ||
res[f] = this[f]; | ||
} | ||
} | ||
return res; | ||
} | ||
}; |
@@ -166,5 +166,11 @@ var _ = require('lodash') | ||
extend: function(obj) { | ||
return _.extend(_.clone(this, true), obj); | ||
var res = _.assign(_.assign({}, this), obj); | ||
for (var f in this) { | ||
if (_.isFunction(this[f])) { | ||
res[f] = this[f]; | ||
} | ||
} | ||
return res; | ||
} | ||
}; |
@@ -174,5 +174,11 @@ var mongo = require('mongodb') | ||
extend: function(obj) { | ||
return _.extend(_.clone(this, true), obj); | ||
var res = _.assign(_.assign({}, this), obj); | ||
for (var f in this) { | ||
if (_.isFunction(this[f])) { | ||
res[f] = this[f]; | ||
} | ||
} | ||
return res; | ||
} | ||
}; |
@@ -164,5 +164,11 @@ var path = require('path') | ||
extend: function(obj) { | ||
return _.extend(_.clone(this, true), obj); | ||
var res = _.assign(_.assign({}, this), obj); | ||
for (var f in this) { | ||
if (_.isFunction(this[f])) { | ||
res[f] = this[f]; | ||
} | ||
} | ||
return res; | ||
} | ||
}; |
{ | ||
"author": "adrai", | ||
"name": "viewmodel", | ||
"version": "0.4.9", | ||
"version": "0.4.10", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
83878
1854