Comparing version 0.2.5 to 0.2.6
@@ -36,2 +36,8 @@ require('./include.js')(); | ||
} | ||
if (self.modelCache[modelName]) { | ||
return self.modelCache[modelName]; | ||
} | ||
@@ -66,3 +72,3 @@ var conn; | ||
self.modelCache[modelName] = model; | ||
return model; | ||
@@ -69,0 +75,0 @@ } |
{ | ||
"name": "oils", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"description": "Oils js framework built on top of Express.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -21,2 +21,5 @@ oils | ||
Version 0.2.6 ([Download](https://github.com/mannyvergel/oils-js/archive/v0.2.6.zip)) | ||
* Fix bug regarding ```includeModel``` caching | ||
Version 0.2.5 ([Download](https://github.com/mannyvergel/oils-js/archive/v0.2.5.zip)) | ||
@@ -23,0 +26,0 @@ * support for event hooks |
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
57636
912
214