On Aug 15, 2011, at 1:21 PM, Douglas Crockford wrote:

> On 11:59 AM, Brendan Eich wrote:
>> We've been extending JS in SpiderMonkey forever. Had we not, it's hard to 
>> say what would have happened. One anecote: getters and setters were 
>> something I added over a decade ago, such that when Firefox took enough 
>> share from IE that by 2005, the live.com properties (live maps, I believe) 
>> used getters and setters on Firefox to emulate IE's non-standard DOM. This 
>> caused very rapid reverse-engineering of getters and setters in Safari and 
>> Opera. I'm not relating this to tell a story with a clean "moral". Some of 
>> this was accidental, but much of it was game theory. Had we hidden getters 
>> and setters behind a flag, I'm not sure what Microsoft's web developers 
>> would have done. Probably use an Ajax library that did not require IE DOM 
>> quirk emulation
> I think you are probably right. They could have done a good thing, but 
> getters and setters gave them a license to continue doing the bad thing. So 
> ultimately they took a lot longer to finally adopt jQuery.

I can't tell if you're being sarcastic (ok, maybe I can :-P), but jQuery did 
not exist in 2005. Not until August 2006, and that would've been brand-new 
jQuery.

/be

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to