leapmotion/leapjs — pull request #15 by jo3w4rd (2013-02-05 19:29:19+00:00)
Title: Changed hand.palmDirection to hand.direction to match main API. Changed ...

Found a problem with the Hand instantiation, in that the direction object was named "direction" in the JSON data, but referenced as "palmDirection" in the Hand constructor.

Since the Hand.palmDirection property couldn't have worked for anyone (it was undefined), I went ahead and renamed it to Hand.direction to match the standard Leap API.

...data.palmDirection to data.direction to match JSON.