tinymce/tinymce — pull request #111 by rpflorence (2012-02-08 04:49:42+00:00)
Title: Allows tiny to be loaded asynchronously and work

If tiny was loaded on-demand it wouldn't work.
The initialization work it does on
DOMContentLoaded is never done if the DOM is
already ready.

Tiny is a significant expense to load, we defer loading it until the user actually needs it, hence this pull request.

Because the test suite uses `document.write` to get all of tiny's components on the page, the test added here can only be run with a built version of tiny.

Let me know any changes you'd like to see and I'll update the commit.

Thanks :v: