rvagg/bonzo — comment on commit 38594925ef30dd1cd9c37a7ddd3836ba11b1b632
File: src/bonzo.js line 219
By rvagg:

Tests are all passing fine across browsers in this latest commit, including new tests for multi-class calls; however, I had one of those midnight code epiphanies (maybe I'm the only one that gets those) where I realised that the top-level `addClass()` doing a `hasClass()` on the original unsplit string is going to screw things up for the case where you are adding a bunch of classes and at least one of them already exists on the element. So I need to write some more tests anyway and I think move the split up into the top-level methods (where it'll be more optimal anyway).