• 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
..
embedded.html Loading commit data...
embedded.js Loading commit data...
embedded_fail.html Loading commit data...
embedded_fail.js Loading commit data...
index.html Loading commit data...
renderjs_test.js Loading commit data...
run-qunit.js Loading commit data...