Gaia/System/NewModule: Difference between revisions

Line 83: Line 83:
   ChildModule.prototype.start = function() {};
   ChildModule.prototype.start = function() {};


   // parent.js
   // parent_module.js
   ParentModule.prototype.start = function() {
   ParentModule.prototype.start = function() {
     return Service.request('schedule', () => {  // This is exactly what BaseModule.prototype.loadWhenIdle does
     return Service.request('schedule', () => {  // This is exactly what BaseModule.prototype.loadWhenIdle does
Confirmed users
401

edits