jhollingworth/bootstrap-wysihtml5 — pull request #95 by edslocomb (2012-09-02 18:02:33+00:00)
Title: prevent bugs with unit testing!

As a start on unit testing, I've copied in the top-level unit tests from the wysihtml5 project, and adapted them to instantiate the editor via bootstrap-wysihtml5.

This did expose a rather nasty bug in which successive calls to .wysihtml5({options}) would copy everything in {options} to defaultOptions. This is also fixed.

To run the tests, just open test/index.html in your wysihtml5-compatible browser.