##// END OF EJS Templates
fixed "singleton" activation type handling in container configuration...
fixed "singleton" activation type handling in container configuration makeResolver helper converted to async fixed passing parameters to a factory in the container compatibility improvements with previous versions of the library

File last commit:

r60:b23fe4a1683a default
r65:0c74a0572161 v1.2.13 default
Show More
config1.js
20 lines | 352 B | application/javascript | JavascriptLexer
cin
Added support for commonjs module format, all tests are pass.
r60 module.exports = {
foo: {
$type: "./Foo:Foo"
},
bar: {
$type: "./Bar:Bar",
params: {
db: {
provider: {
$dependency: "db"
}
},
foo: {
$type: "./Foo:Foo"
}
}
},
db: "db://localhost"
};