jankolkmeier/xbee-api — pull request #16 by joshperry (2014-12-04 18:15:56+00:00)
Title: Fix hard crash on frames with no parser

The code hard crashes when `raw_frames: false` and when attempting to parse a frame for which there was no parser available.

This change emits a `frame_raw` event if there is not a parser available, even when `raw_frames: false`. This lets callers handle new frame types when there isn't a built-in parser defined while still taking advantage of the frame parsing functionality for ones that do.

Also, a little delinting.