rwaldron/johnny-five — pull request #341 by xqjibz (2014-05-19 18:05:16+00:00)
Title: Fix for LED status isOn()

I came across this today, when calling LED.fadeIn(), the LED.isOn() status is incorrect. What I found was that LED.stop() is being called on fadeIn and fadeOut operations, setting the status to false. What I did here was a quick fix during the fade() to insure that if the direction is 'up' and the value is 255, that we will leave the LED status as 'on' or true.

Let me know if there is anything missing.