zettajs / zetta-auto-scout

A basic Scout for auto-wiring devices in Zetta.
MIT License
1 stars 1 forks source link

Hack to enable .use(Device) to only call device init once #4

Closed AdamMagaluk closed 9 years ago

AdamMagaluk commented 9 years ago

Basically will reuse the instance if passed in as this._deviceInstance had to re add some code normally done in this.discover and this.provision.

mdobson commented 9 years ago

Feel free to merge.

mdobson commented 9 years ago

Signed off x2