blackberry/Ripple-UI — Issue #216: [lib/deviceMotionEmulator] does not pass all arguments to window.addEventListener/removeEventListener
Author: brentlintner
Created: 2011-10-28 00:39:00+00:00
State: open
Labels: Bug, High Severity

See these two lines:

https://github.com/blackberry/Ripple-UI/blob/master/lib/ripple/deviceMotionEmulator.js#L68
https://github.com/blackberry/Ripple-UI/blob/master/lib/ripple/deviceMotionEmulator.js#L75

These are missing arguments:

https://developer.mozilla.org/en/DOM/element.removeEventListener
https://developer.mozilla.org/en/DOM/element.addEventListener