Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.

Dan Beam

Member since Oct 27, 2009

Recent Blog Comments By Dan Beam

  • A jQuery Proxy To Help Create Custom Selectors

    Posted on Jan 1, 2010 at 8:50 PM

    I have found using custom selectors in jQuery super useful before (for instance, a case-insensitive :contains). This goes far beyond that, and I think I will find this very useful in the future. Does jQuery natively cache Sizzle / selector queries like your example does? If so, I am just more imp... read more »

  • jQuery Powered Mine Sweeper Game

    Posted on Oct 27, 2009 at 11:32 AM

    Great game, man. May want to consider using event handlers for onContextMenu / onMouseDown (well, specifically right clicks) instead of using the Alt + Click approach, as it's not working for me in Linux. When you use alt + click (in Gnome at least), it simply tries to move your window instead of ... read more »

  • JSON: Minor But VERY Important Detail Creating Syntax Error: Invalid Label

    Posted on Oct 27, 2009 at 11:21 AM

    >>> eval( { "an":"object" } ); Object an=object >>> eval( '{ "an":"object" }' ); SyntaxError: invalid label >>> eval( '({ "an":"object" })' ); Object an=object wtf, right?... read more »