Gaia/System/Refactoring Plan: Difference between revisions

Jump to navigation Jump to search
 
Line 112: Line 112:
     start: function() {
     start: function() {
       if (this._started) {
       if (this._started) {
         return;
         throw 'Module XXX have already started.';
       }
       }
       this._started = true;
       this._started = true;
Line 124: Line 124:
     stop: function() {
     stop: function() {
       if (!this._started) {
       if (!this._started) {
         return;
         throw 'Module XXX have not started.';
       }
       }
       this._started = false;
       this._started = false;
Confirmed users
478

edits

Navigation menu