src/js/Command.js
function() {
    if (this.handler) {
      this.handler();
      if (mindmaps.DEBUG) {
        console.log("handler called for", this.id);
      }
    } else {
      if (mindmaps.DEBUG) {
        console.log("no handler found for", this.id);
      }
    }
  }
function() {
    if (this.handler) {
      this.handler();
      if (mindmaps.DEBUG) {
        console.log("handler called for", this.id);
      }
    } else {
      if (mindmaps.DEBUG) {
        console.log("no handler found for", this.id);
      }
    }
  }
function ( ) { if ( this . handler ) { this . handler ( ) ; if ( mindmaps . DEBUG ) { console . log ( "handler called for" , this . id ) ; } } else { if ( mindmaps . DEBUG ) { console . log ( "no handler found for" , this . id ) ; } } }
Executes the command. Tries to call the handler function.
Executes the command . Tries to call the handler function .