Friday, August 20, 2010
The smallest boolean in JavaScript
The smallest boolean in JavaScript
Tuesday, August 17, 2010
Proxy - You've come a long way, baby.
Proxy - You've come a long way, baby.
Friday, July 30, 2010
Use JavaScript comment-urls instead of the traditional void(0) method
Use JavaScript comment-urls instead of the traditional void(0) method
Monday, July 26, 2010
Saving to buy things
Remember how your elders would tell you to save in order to save? As in, "this money should never be spent"? Reality check: that's hard to do. Sure, I save money (all I can); I even save to save it. But then I need (ok, want) to buy something, and there goes my savings. That's normal, but the problem is I never spend my money on the reason I'm saving my money.
Saving to buy things
Friday, July 23, 2010
Inferring node placement via special sourceIndex values
I needed to know whether a node was in the DOM. Figuring there was a native property or method towards this end, I scoured Mozilla's documentation but could find nothing. Then Microsoft (yes, them) offered hope with Internet Explorer's sourceIndex property:
Retrieves the ordinal position of the object, in source order, as the object appears in the document's all collection.
Inferring node placement via special sourceIndex values
Monday, July 19, 2010
w3c browsers fire bubble listeners before capture listeners
w3c browsers fire bubble listeners before capture listeners
Wednesday, July 14, 2010
Internet Explorer doesn't bubble click events to the window
Internet Explorer doesn't bubble click events to the window
Subscribe to:
Posts (Atom)