Skip to main content
Ben Nadel at InVision Office 2011 (New York City) with: Lindsey Root and Adam Root and Clark Valberg
Ben Nadel at InVision Office 2011 (New York City) with: Lindsey Root@lowcarblindsey ) , Adam Root@adamroot ) , and Clark Valberg@clarkvalberg )

Eric Elliott

Member since Oct 7, 2010

Recent Blog Comments By Eric Elliott

  • Simple Publication And Subscription Functionality (Pub/Sub) With jQuery

    Posted on Oct 3, 2012 at 9:04 PM

    Ben, I know this is ancient, but here are some notes: * With global events, wildcard support is essential to enable cross-cutting concerns. Pitfall: Memory leaks if you add too many event listeners (especially problematic in collections). Pitfall solution: Refactor to delegate events for collec... read more »

  • Javascript's hasOwnProperty() Method Is More Consistent Than The IN Operator

    Posted on Jun 22, 2012 at 8:55 PM

    I noticed recently that .hasOwnProperty() doesn't exist on DOM nodes in IE8 or IE7, which is unfortunate, because it's commonly used to detect features on the DOM by coders who are unaware of the issue. I worked around the issue with typeof !== 'undefined'. If you're protecting agains... read more »

  • Programming JavaScript Applications (Early Release) By Eric Elliott

    Posted on Jun 15, 2012 at 4:13 PM

    Hi Ben, Thank you for your excellent review of my new book. BTW, I've been reading your blog for many months. It's an excellent resource. =) You are correct here that the early release is NOT complete. This book is organized into two parts: A JavaScript language primer / best practices, and an App... read more »

  • HTML5 Up And Running By Mark Pilgrim

    Posted on Oct 7, 2010 at 12:02 PM

    @Garry - Sadly, that's not entirely true. Some of the HTML5 input types can't be styled yet in Google Chrome, and they simply don't exist yet in other browsers -- and there's no way to predict how they will behave in the early versions of them when the tags do begin to see some adoption. What if th... read more »