Re: A new hack for singleton objects

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