ecowden / pluto.js

JavaScript Dependency Injection
MIT License
8 stars 3 forks source link

Self Injection #32

Closed ecowden closed 7 years ago

ecowden commented 7 years ago

This adds the ability to inject the pluto binder (under plutoBinder) and a fully bootstrapped app (under plutoApp) within a dependency injected component.

This was requested by @oetjenb. 😎

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling f92b32e90a077f687e13e00dab20c81b7ea032ec on self-injection into e82fd264e2b5aa1bf09f1f99ab5480def18e63d5 on master.

boetjen commented 7 years ago

This looks good. Am I right in saying that using pluto-path would take care of both documented edge cases and plutoApp should be both defined and fully populated?