diff src/implab/di/Container.js @ 3:00779cb63b12

formatting
author cin
date Tue, 06 Jun 2017 19:45:32 +0300
parents 93fb6c09f2e1
children fcc63f34d0a2
line wrap: on
line diff
--- a/src/implab/di/Container.js	Fri Jun 02 19:28:20 2017 +0300
+++ b/src/implab/di/Container.js	Tue Jun 06 19:45:32 2017 +0300
@@ -29,7 +29,7 @@
 
         constructor: function (parent) {
             this._parent = parent;
-            this._services = parent ? safe.create(parent._services) : {};
+            this._services = parent ? Object.create(parent._services) : {};
             this._cache = {};
             this._cleanup = [];
             this._root = parent ? parent.getRootContainer() : this;