uxebu/bonsai — pull request #97 by klipstein (2012-10-02 14:33:16+00:00)
Title: Providing just one build-type (worker+iframe)

This pull-request removes the need to provide 2 different builds for the Worker / Iframe environment and it allows that Bonsai can be concatted with other JS files (the complete bonsai-code is now injected through different techniques in the worker/iframe environment as a string instead of a file URL).

The built version of Bonsai is now taking care to select the best approach for a particular browser:

- Worker-Environment spawned with Blob (latest Chrome, Firefox, Safari 6 and iOS 6)
- Worker-Environment spawned with Data-URI (just supported by Opera)
- Iframe-Environment spawned through `` (older Chrome versions, Safari 5, IE 9/10. Note: IE10 throws a security error, if a Blob-URL is used as the Worker source)