##// END OF EJS Templates
Added childContainer service to container services, ServiceContaier is destroyable, fixed browser Uuid version
Added childContainer service to container services, ServiceContaier is destroyable, fixed browser Uuid version

File last commit:

r142:be7edf08a115 v1.4.0-rc3 default
r146:f3f5c56d3b3e v1.4.0-rc5 default
Show More
config2.ts
10 lines | 319 B | video/mp2t | TypeScriptLexer
cin
added provided and configure methods to the fluent container configuration, added applyConfig method to the container
r142 import { fluent } from "../di/traits";
import { Bar } from "./Bar";
import { ChildServices, Services } from "./services";
export default fluent<ChildServices>()
.provided<keyof Services>()
.configure({
bar: it => it
.factory($ => new Bar({ foo: $("foo"), host: $("host") }, "bar"))
});