Comparing version 0.3.25 to 0.3.26
@@ -297,3 +297,10 @@ !function(){ | ||
, _save: function(transaction, noReload, callback) { | ||
, _save: function(transaction, noReload, outerCallback) { | ||
// mkae sure the outer callback gets this model | ||
// as second parameter | ||
var callback = function(err){ | ||
if (err) outerCallback(err); | ||
else outerCallback(null, this); | ||
}.bind(this); | ||
// we need to change the status if the transaction succeeds | ||
@@ -300,0 +307,0 @@ transaction.once('commit', function(){ |
{ | ||
"name" : "ee-orm" | ||
, "description" : "An easy to use ORM for node.js. Supports eager loading, complex queries, joins, transactions, complex database clusters & connection pooling." | ||
, "version" : "0.3.25" | ||
, "version" : "0.3.26" | ||
, "homepage" : "https://github.com/eventEmitter/ee-orm" | ||
@@ -6,0 +6,0 @@ , "author" : "Michael van der Weg <michael@eventemitter.com> (http://eventemitter.com/)" |
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
179600
3360