RE: skeleton Geolocation API

The two options only present stylistic preferences at this point. In the two callbacks approach, the underlying code does the status check. In the one callback with status code as an argument approach, the calling code does the status check. IMO, the choice here is not a scientific decision.

-----Original Message-----
From: Doug Turner [mailto:doug.turner@gmail.com]
Sent: Thursday, July 24, 2008 4:22 PM
To: Chris Prince
Cc: Andrei Popescu; Alec Berntson; Aaron Boodman; Shyam Habarakada; public-geolocation@w3c.org
Subject: Re: skeleton Geolocation API

and having two callback instead of one-that-passes- a-status-code  is
because of what?

On Jul 24, 2008, at 12:11 PM, Chris Prince wrote:

>> So how about having both callbacks required?
>
> Makes sense to me.

Received on Friday, 25 July 2008 00:14:51 UTC