harthur/classifier — pull request #4 by stesie (2012-11-18 11:26:34+00:00)
Title: Reset category list to empty only initially.

Hey there,

the localStorage backend currently always resets the category list to {} upon initialization. That way however you can't just start classifying after instantiation, since the list is empty.

I've wrapped the statement with an if-clause. Firefox returns `null` for unset keys and Chrome `undefined`, therefore I just test it to evaluate to false.

How to regenerate classifier.min.js? I didn't find a npm target or so. For the moment I've patched the minified version, but that's just painful :-)

cheers,
stesie