jaapweel/willow — pull request #1 by twiegp (2013-07-19 20:07:12+00:00)
Title: Misc. changes

I'm hoping I don't blow up Github, I really don't know what I'm doing here!

But anyways, here are my change notes:

1) Added "flush" function. This finds all matches on the board and removes them. There might be a more-efficient way of doing this.
2) Expanded "peek" function so that it returns raw html in divs as well as client input, if relevant.
3) "Background" function now takes optional arguments that are passed to the function being called.
4) Messages are now logged in 1000-character increments rather than 70-character increments. This is done because messages were being logged on top of eachother, probably due to an underlying threadlock issue which I can't be bothered to figure out.

(4) is kind of a dumb change but for the experiments we've run it's improved things on net.