# HG changeset patch # User cin # Date 1496924124 -10800 # Node ID fcc63f34d0a2acdb0cf4df91b9bb21e0c08874b5 # Parent 00779cb63b127f9c6bcc9a6cbd0d7313a552ccfc fixed container configuration when the config path contains only a package name diff -r 00779cb63b12 -r fcc63f34d0a2 src/implab/di/Container.js --- a/src/implab/di/Container.js Tue Jun 06 19:45:32 2017 +0300 +++ b/src/implab/di/Container.js Thu Jun 08 15:15:24 2017 +0300 @@ -110,7 +110,7 @@ if (typeof (config) === "string") { p = new Deferred(); if (!contextRequire) { - var shim = config + "-" + Uuid(); + var shim = [config, new Uuid()].join(config.indexOf("/") != -1 ? "-" : "/"); define(shim, ["require", config], function (ctx, data) { p.resolve([data, { contextRequire: ctx