Category Archives: Featured

Spooky Code or How to Make Animations Run Smoother

So I’ve been thinking about JavaScript performance, because I’m hoping to make my animations run smoother. The actual animation steps (changing position, opacity, or size of a node) can’t be improved by anyone other than the browser vendor. So what can I do to optimise my code and allow me to get more raw horsepower [...]

Simple Animation

Most JavaScript libraries support some animation of one variety or another. Nothing new there. I’d like to share the animation framework I’ve been developing for my HTML Bindings library. It builds on some of the lessons I’ve learned about developing animations for the iPhone.

Going Global

So far, the most popular posts I’ve written (if you discount the rant about syncing my mobile phone on Windows) are the two about getting dynamically loaded JavaScript code to execute in the global context.

Unit Testing with JavaScript and TextMate

If you write lots of JavaScript — and boy, do I write a bit of JavaScript — you might be interested in a nice little unit testing library I’ve put together. There are several other JavaScript unit testing libraries out there, but they all assume you want to execute your scripts in a browser. For [...]