doug crockford has a posse.

javascript


Firefox getComputedStyle Table Margin Bug

There’s a bug in Firefox when computing table margins using getComputedStyle; it always returns 0px. See the test case.
The bug also effects current versions of Firebug (case 171, as well as YUI’s getStyle method (my library of choice.)
Thankfully, there’s a workaround. While technically you could alter the display property of your table to ‘block’, you’ll […]

Javascript: The Good Parts

There is perhaps no one individual who has had more impact on modern JavaScript than Doug Crockford. As such, I’m thrilled to see the Godfather has a soon-to-be-released O’reilly book, JavaScript: The Good Parts. (The Butterfly Book!)
I’m secretly hoping it’s not a regugitation of all the things he’s already said/written, regardless it’s been pre-ordered!

Top JavaScript Books of All-Time

5. Pro JavaScript Techniques by John Resig. John’s jQuery library is a thing of absolute beauty—the source is an example of javascript’s utter sexiness. Now, as a whole I found this book a bit disjointed, nevertheless it’s recommend because it attempts to tackle difficult subject matters like closures and event handling, and does so […]

Making full use of the Arguments object

In Javascript, arguments are the variables passed to a function. We might think of a soda machine that accepts coins that are then processed, returning your favorite carbonated beverage. Likening this to a function, the coins are arguments.
In general these arguments are accessed by named variables as represented in the following example by str1 and [...]

Cross-browser Javascript Profiling with YUI

Soon the fabulous YUI team will release a skin for their profiler tool. This release will hopefully bring profiling mainstream, if Firebug hasn't done it already (and what sadly Venkman failed to do.) More importantly, it will bring this indispensable benchmarking technique to all A-grade browsers and platforms, and in a manner that will be [...]

Yuidocs.com : Faster access to YUI Documentation

Good programmers are lazy, and while I might not be good, I'm surely lazy. I got tired of typing http colon slash slash developer dot yahoo dot com slash yui slash docs and instead bought yuidocs.com which auto-forwards for me. Enjoy!

jQuery Dashboard Widget

Early last year we were using jQuery heavily in our web app, though we've since migrated to YUI. At the time, I released a dashboard widget for OS X. ...it hasn't been updated in a couple releases, but nevertheless check it out.
(Note: it appears the jQuery team has discontinued publishing their documentation in json format, [...]