W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2015

Re: A new hack for singleton objects

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Wed, 18 Mar 2015 09:39:29 -0400
Message-ID: <55098011.6000209@mit.edu>
To: Domenic Denicola <d@domenic.me>, "public-script-coord@w3.org" <public-script-coord@w3.org>
On 3/18/15 9:35 AM, Domenic Denicola wrote:
> Right, exactly. I'm not sure when you would want to support this, really, for singletons like history (or navigator.geolocation, or...). Can you?

Dunno.  I've never understood libraries that grab querySelector once and 
then .call(foo) it after that instead of foo.querySelector either, 
honestly.... but clearly people are doing that sort of thing, so it 
might be interesting to ask them why.

-Boris
Received on Wednesday, 18 March 2015 13:39:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 18 March 2015 13:39:59 UTC