Comparing version 0.3.11 to 0.3.12
@@ -34,2 +34,3 @@ !function(){ | ||
this._initializeOrm(function(err){ | ||
this._loaded = true; | ||
this.emit('load', err); | ||
@@ -40,5 +41,14 @@ }.bind(this)); | ||
, isLoaded: function() { | ||
return !!this._loaded; | ||
} | ||
// reload definitions | ||
, reload: function(callback) { | ||
this._initializeOrm(callback); | ||
this._loaded = false; | ||
this._initializeOrm(function(err){ | ||
this._loaded = true; | ||
callback(err); | ||
}.bind(this)); | ||
} | ||
@@ -45,0 +55,0 @@ |
{ | ||
"name" : "ee-orm" | ||
, "description" : "An easy to use ORM for node.js. Supports advanced eager loading, complex queries, joins, transactions, complex database clusters & connection pooling." | ||
, "version" : "0.3.11" | ||
, "version" : "0.3.12" | ||
, "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
170339
3208