Sunday, May 29, 2011

ANNOUNCE: Hashtrack.js 0.2

Hashtrack.js 0.2 includes a number of bug fixes and enhancements, and I'd like to start doing official releases that really show off what the tool is capable of. I've been using this for a few years in projects both personal and professional, and I always merge improvements back into it. Hopefully, I can start making an effort to polish it up better, because in this day and age we all are finding ourselves in need of stateful web applications, and we need to handle this gracefully.

Take a look at the github repo for hashtrack if you like the sample code below, or take a look at the very sparse but informative docs.

 hashtrack.onhashvarchange("background", function (value) {
     $('body').css('background', value);
 }, true);


 <a href="#?background=green">Make the background green</a>

No comments:

I write here about programming, how to program better, things I think are neat and are related to programming. I might write other things at my personal website.

I am happily employed by the excellent Caktus Group, located in beautiful and friendly Carrboro, NC, where I work with Python, Django, and Javascript.

Blog Archive