Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Sure: http://pastebin.com/KPrm3Zky

It could use variables a bit more, I think, but there were a few bugs with expanding them, so I didn't use them. I'll fix them later on, though.



amazing. that example explains how it works better than 200 pages of documentation :-)

thx!


You're welcome, examples are pretty useful for this sort of thing. Plus, after you have a base to work off, it's trivial to extend.

I'll put this up in a post on my blog, maybe it'll help others as well.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: