• Romain Courteaud's avatar
    Add service management on gadget. · ad6ab698
    Romain Courteaud authored
    A service is function which is executed outside the promise tree when the
    gadget is attached to the DOM.
    Services are stopped when the gadget is removed from the DOM.
    
    You can declare a service with the "declareService" method, which takes a
    function as parameter.
    
    Service errors are reported to the parent gadget by acquisition on
    "reportServiceError".
    If no gadget catched the service error, the application will crash (document
    body will display the raw error).
    ad6ab698
Name
Last commit
Last update
dist Loading commit data...
lib Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
Gruntfile.js Loading commit data...
README Loading commit data...
TODO Loading commit data...
doc.html Loading commit data...
package.json Loading commit data...
renderjs.js Loading commit data...