Nelze vybrat více než 25 témat
Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
Garrett Mills
921f8dbe07
|
před 4 roky | |
---|---|---|
App.js | před 4 roky | |
DependencyInjector.js | před 4 roky | |
Injectable.js | před 4 roky | |
README.md | před 4 roky | |
Service.js | před 4 roky | |
ServiceContainer.js | před 4 roky | |
index.js | před 4 roky |
README.md
Basic Dependency Injection
In less than 100 lines of pure, ES6 JavaScript
This is a very bare-bones dependency injector implementation based on the ES6 classes. It's meant to illustrate the feasibility and benefits of using a service-based dependency injector for Node.js/JavaScript applications.
I discuss this project in greater depth in my blog post here.