##// END OF EJS Templates
Don't call .remove() method of objects bound to the container
Don't call .remove() method of objects bound to the container

File last commit:

r142:be7edf08a115 v1.4.0-rc3 default
r165:c446ccde5f9f v1.4.2 default
Show More
config.ts
14 lines | 373 B | video/mp2t | TypeScriptLexer
import { Services } from "./services";
import { fluent } from "../di/traits";
import { Box } from "./Box";
export default fluent<Services>().configure({
host: it => it.value("example.com"),
foo: it => import("./Foo").then(({ Foo }) => it
.factory(() => new Foo())
),
box: it => it
.factory($dependency => new Box($dependency("foo")))
});