• Sebastian's avatar
    Allow renderjs from JS only, without initial gadget-tag/script-tag · 5606fe76
    Sebastian authored
    The inital loaded HTML does not contain anything of renderjs and gets added only after pageload.
    Instead of registering init() for the DOMContentLoaded event directly, a deferred promise is used which gets resolve either by the event, or by a manual call of rJS.manualBootstrap().
    
    Tests:
    * 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)
    5606fe76
Name
Last commit
Last update
dist Loading commit data...
lib Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.htaccess Loading commit data...
Gruntfile.js Loading commit data...
README Loading commit data...
TODO Loading commit data...
package.json Loading commit data...
renderjs.js Loading commit data...