• Romain Courteaud's avatar
    Always create an empty DOM element for a new gadget. · d939a570
    Romain Courteaud authored
    This reduces the number of DOM modifications (only one replace).
    
    This also ensure that the element content is empty.
    
    Previous event listener will also be discarded (and so, reduce memory usage).
    
    declareGadget element parameter can now also be a tag name.
    d939a570
Name
Last commit
Last update
dist Loading commit data...
lib Loading commit data...
perf Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.htaccess Loading commit data...
COPYING Loading commit data...
Gruntfile.js Loading commit data...
README.md Loading commit data...
TODO Loading commit data...
package.json Loading commit data...
renderjs.js Loading commit data...