Comparing version 1.1.0 to 1.1.1
;(function(undefined) { | ||
'use strict'; | ||
/** | ||
* BottleJS v1.1.0 - 2015-11-09 | ||
* BottleJS v1.1.1 - 2015-11-18 | ||
* A powerful dependency injection micro container | ||
@@ -497,5 +497,8 @@ * | ||
var setValueObject = function setValueObject(container, name) { | ||
var newContainer = {}; | ||
defineValue.call(container, name, newContainer); | ||
return newContainer; | ||
var nestedContainer = container[name]; | ||
if (!nestedContainer) { | ||
nestedContainer = {}; | ||
defineValue.call(container, name, nestedContainer); | ||
} | ||
return nestedContainer; | ||
}; | ||
@@ -502,0 +505,0 @@ |
{ | ||
"name": "bottlejs", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "A powerful dependency injection micro container", | ||
@@ -5,0 +5,0 @@ "main": "dist/bottle.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
32712
559