bryan-bartow / homebridge-alarm.com

Alarm.com plugin for Homebridge
ISC License
43 stars 11 forks source link

Refactors & Cleanup #9

Closed yungsters closed 8 years ago

yungsters commented 8 years ago

Came across this awesome homebridge plugin and wanted to hack on top of it. Since the package already requires node >=4.2.3, I rewrote some code to exploit new language features like arrow functions, class syntax, and promises.

The only visible difference to end users should be the reformatted log messages.

bryanbartow commented 8 years ago

@yungsters I apologize for just not getting to this. This is awesome. Honestly, I'm an iOS dev (Objective-C and now Swift who hadn't really messed with node before this project. You obviously have a much better understanding of the syntax, JS promises, etc. than I do. I'll merge this in, but you may have to answer syntactical questions from the community until I get up to speed.

yungsters commented 8 years ago

@bryanbartow Certainly! Feel free to ask me any questions that you may have, too. And thanks again for making this plugin. I've already been using it everyday. :-)

bryanbartow commented 8 years ago

@yungsters Glad to hear it.