Displaying posts tagged with

“framework”

Nov
30
2009

$(”#efficient”).addClass(”shortcut”);

I love JavaScript frameworks. Coming from a time when you had to code uniquely for IE (document.all) and Netscape (document.layers) most (including me) just did it for IE. Also, many of us were just learning about JS via the highly recommended Peachpit books, so we copied but didn’t understand. This was the [...]

Nov
19
2009

The (Under) Belly of the Beast

One habit I have when visiting websites is to look at their codebase, both for curiosity and for new/interesting code snippets. Today, I was going through Facebook’s code while playing Mafia Wars and, aside from the sheer volume of code, a few things that sort of surprised me:

Liberal use of onClick=”" for basically all [...]