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

formatting
author cin
date Tue, 06 Jun 2017 19:45:32 +0300
parents 93fb6c09f2e1
children
line wrap: on
line diff
--- a/src/implab/di/ServiceDescriptor.js	Fri Jun 02 19:28:20 2017 +0300
+++ b/src/implab/di/ServiceDescriptor.js	Tue Jun 06 19:45:32 2017 +0300
@@ -218,7 +218,7 @@
                             };
                         } else if (this._params instanceof Array) {
                             this._factory = function () {
-                                var inst = safe.create(ctor.prototype);
+                                var inst = Object.create(ctor.prototype);
                                 var ret = ctor.apply(inst, arguments);
                                 return typeof (ret) === "object" ? ret : inst;
                             };