Closed speker2010 closed 1 year ago
Page: https://github.com/zazoomauro/node-dependency-injection/wiki/Synthetic Js code example contains syntax error. -> in line let definition = container->register('app.synthetic_service') should be replaced by .
->
let definition = container->register('app.synthetic_service')
.
Correct line: let definition = container.register('app.synthetic_service')
let definition = container.register('app.synthetic_service')
Page: https://github.com/zazoomauro/node-dependency-injection/wiki/Synthetic
Js code example contains syntax error.
->
in linelet definition = container->register('app.synthetic_service')
should be replaced by.
Correct line:
let definition = container.register('app.synthetic_service')