mattlawer/BButton — pull request #1 by alexanderjarvis (2012-08-19 09:41:04+00:00)
Title: Added setType method

Firstly, thanks a lot for writing this awesome code!

I was using it and added a method to easily set my buttons to the different types available in Bootstrap (taken from the examples code). This made sense to me as otherwise I'd have lots of colour related code in my application that should really be in the library.

I thought I'd create this pull request just so that you were aware of how I was using it & you might want to change the interface/idiom for how the behaviour is achieved if you want to include it.

Cheers,
Alex