Extending prototypes of built-in objects
Okay, listen now:
You should never, ever, under any circumstances extend Object.prototype with new members unless you own all the code in the entire production environment.
The reason is simple: Doing so breaks the in operator on all types of objects used in JavaScript. This includes the for(i in o) and for each(i [...]
Posted in Javascript | 23 Comments »
Over at Twinsparc we’ve released our first OS X application - [Headdress](http://headdress.twinsparc.com/). We made it for you, meaning we made it for web designers and developers like ourselves. The purpose of the app is to make it easier to setup fully functional sites locally. More literally, Headdress is a GUI for setting up Apache VirtualHosts [...]
Posted in Uncategorized | 40 Comments »
For those of you that didn’t know it, Anne van Kesteren is the editor of a TR an editor’s draft on an API for Selectors. I’ve not been following the discussions on the mailing list, but I have some comments on the draft as it looks right now. Notably, I think they’re currently about to [...]
Posted in Javascript | 10 Comments »
You are currently browsing the Web Graphics weblog archives for September, 2008.