obiot/melonJS — pull request #70 by parasyte (2012-07-18 05:36:57+00:00)
Title: Fix strange behavior case in me.input with Shift key

- The example code below would return a reference to Array.prototype.shift()
until Shift is pressed and released for the first time. The shift function
evaluates true, making the statement execute as a false-positive.

me.input.bindKey(me.input.KEY.SHIFT, "shift");
if (!me.input.keyStatus("shift")) ...

- Also it was not possible to bind a key named "length".