- From: Cameron McCormack <cam@mcc.id.au>
- Date: Thu, 2 Jun 2011 11:17:08 +1200
- To: pettay@mappi.helsinki.fi
- Cc: Savil Srivastava <Savil.Srivastava@microsoft.com>, Web Performance Working Group WG <public-web-perf@w3.org>
Olli Pettay: > Is there any reason to not allow objects? > > DOM Events happen to be one of the most commonly used > interfaces using callbacks. For consistency callbacks should work > the same way. > (if they don't in geolocation, that could be a bug in that draft. > geolocation is a bit strange API anyway.) > > Supporting objects allows one to easily handle the state related to > callback handling. You can of course put additional properties on the Function object, although you couldn’t use an object initialiser. Maybe we should discuss this broader question of what what specs should do in general on public-script-coord? -- Cameron McCormack ≝ http://mcc.id.au/
Received on Wednesday, 1 June 2011 23:17:38 UTC