-
Recent Posts
Archives
- February 2011
- April 2009
- March 2009
- February 2009
- July 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- April 2007
- February 2007
- January 2007
- December 2006
- November 2006
- September 2006
- August 2006
- July 2006
- June 2006
- April 2006
- March 2006
- December 2005
- November 2005
- October 2005
- September 2005
- August 2005
- July 2005
- June 2005
- May 2005
- April 2005
- March 2005
- February 2005
- January 2005
- December 2004
Categories
Meta
Category Archives: JavaScript
JavaScript Tips, Traps and Hacks
I am a China based develper currently involved in JavaScript. It’s a fantanstic exerience to discover so many nice things in such a scripting language with an initial design goal to be an add-on of an early web browser. Compared to other programming … Continue reading
Posted in JavaScript
Leave a comment
Possible mistakes in Pro JavaScript Techniques
I’m previewing the the ultimate JavaScript book for the modern web developer and have found several, maybe, mistakes. A side effect of the anonymous function scope induction trick At the end of Chapter 2 >> Privileged Methods Listing 2-25. Example … Continue reading
Posted in JavaScript
4 Comments
Why is this?
(function(){}).__proto__ === (function(){}).__proto__ // => false ({}).__proto__ === ({}).__proto__ // => true
Posted in JavaScript
Leave a comment
Leak Free Event Observation Patch for Prototype
2006-10-24 +8 Update: According to IE 7 vs IE 6, IE 7 seems to have solved the memory leaks. So this patch is not needed for IE7. 2006-09-05 15:33:39 GMT+0800 UPDATE: I found that this patch breaks Event.stopObserving, I’ll update it … Continue reading
Posted in JavaScript
25 Comments
JavaScript closure and IE memory leak
2006-10-24 +8 Update: According to IE 7 vs IE 6, IE 7 seems to have solved the memory leaks. Cheers! 2006-09-24 +8 Update: See the follow up "Betty: Your umbrella leaks, Professor Boffin!" —- Look, Listen and Learn IE leaks memory like … Continue reading
Posted in JavaScript
3 Comments