Gaia/System/NewModule: Difference between revisions

Line 72: Line 72:


   // core.js
   // core.js
   Core.prototype._start = function() {
   BaseModule.create(Core, {
    return this.loadWhenIdle(['SideTester']);
    _start = function() {
   };
      return this.loadWhenIdle(['SideTester']);
    };
   });


=== Sample for the new module which does not block the first view and the parent is not a baseModule ===
=== Sample for the new module which does not block the first view and the parent is not a baseModule ===
Confirmed users
401

edits