Paul Irish
Member since Nov 18, 2009
- Profile: /members/4792-paul-irish.htm
- URL: http://paulirish.com
- Comments: 5
Recent Blog Comments By Paul Irish
-
Chrome Dev Tools "Live Update" In The JavaScript Console Is Confusing
Posted on Aug 9, 2012 at 7:51 PM
Yeah this bug is a killer. It's the top of our list with stars.. and.. good news in fact! Today the engineering team landed a patch to help resolve this issue AND give us more attractive console logging at the same time! http://trac.webkit.org/changeset/125174 So now we'll get a preview of the o... read more »
-
Detecting iPhone's App Mode (Full Screen Mode) For Web Applications
Posted on Jun 24, 2010 at 8:27 PM
Oh I see the logic you were hunting down. yeah you could simplify with a threequals. True. :)... read more »
-
Detecting iPhone's App Mode (Full Screen Mode) For Web Applications
Posted on Jun 24, 2010 at 12:04 PM
Good looks. You can reduce the detection to just if (!!window.navigator.standalone) ... If standalone is undefined, the !! basically casts it to a real boolean false. Then again, a conditional statement is fine with varying levels of falseness.. so you really dont need the !! at all. But for some... read more »
-
Enable And Disable jQuery Event Handlers (Rather Than Bind And Unbind)
Posted on Dec 4, 2009 at 10:46 AM
Very nice! I like that a lot. While keeping the flag inside the handler is a little messy, it's certainly far faster than the unbind/rebind pattern. I like your bindIf abstraction, though.. Slickness. :)... read more »