Allow renderjs from JS only, without initial gadget-tag/script-tag
I thus added functionallity to renderjs to initialize manually, after pageload. See the forum entry here.
Instead of registering
DOMContentLoadedevent directly, a deferred promise is used which gets resolve either by the event, or by a manual call of
- Injects rsvp/renderjs in a blank iframe
- makes sure renderjs is only present after it was injected
- calls manual bootstrap to initialzed renderjs
- creates small test gadget to ensure renderjs is working within the iframe (after bootstrap was executed)