Comparing version 1.0.0 to 1.0.1
;(function(undefined) { | ||
'use strict'; | ||
/** | ||
* BottleJS v1.0.0 - 2015-05-25 | ||
* BottleJS v1.0.1 - 2015-10-05 | ||
* A powerful dependency injection micro container | ||
@@ -382,3 +382,3 @@ * | ||
} | ||
return instance ? applyMiddleware(id, name, instance, container) : instance; | ||
return instance === undefined ? instance : applyMiddleware(id, name, instance, container); | ||
} | ||
@@ -385,0 +385,0 @@ }; |
{ | ||
"name": "bottlejs", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A powerful dependency injection micro container", | ||
@@ -5,0 +5,0 @@ "main": "dist/bottle.js", |
@@ -62,3 +62,3 @@ | ||
The above example is simple. But, what if the Beer service had dependencies? For eample: | ||
The above example is simple. But, what if the Beer service had dependencies? For example: | ||
@@ -65,0 +65,0 @@ ```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
31247