cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse <>
Subject Re: Small change to CompassHeading object
Date Fri, 15 Feb 2013 01:25:38 GMT
No reliance on null in WP7+8 or Windows 8.

On Thu, Feb 14, 2013 at 4:19 PM, Gord Tanner <> wrote:

> I noticed a bug when working on Ripple in Compass Heading:
> When any of these values were 0 (which is a valid heading if you are facing
> perfectly north) it would set the value of the property to null.
> I figured setting to undefined was just as good as setting to null so I got
> rid of the fallback OR case.
> Does any platform rely on these values being null if they are not provided
> in the constructor?
> I am going to also do a larger sweep of the javascript layer to see if we
> have any of these other falsy bugs.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message