dist/jsoneditor.js
function() {    
    var self = this, vars, j;
    
    // If this editor needs to be rendered by a macro template
    if(this.template) {
      vars = this.getWatchedFieldValues();
      this.setValue(this.template(vars),false,true);
    }
    
    this._super();
  }
function() {    
    var self = this, vars, j;
    
    // If this editor needs to be rendered by a macro template
    if(this.template) {
      vars = this.getWatchedFieldValues();
      this.setValue(this.template(vars),false,true);
    }
    
    this._super();
  }
function ( ) { var self = this , vars , j ; // If this editor needs to be rendered by a macro template if ( this . template ) { vars = this . getWatchedFieldValues ( ) ; this . setValue ( this . template ( vars ) , false , true ) ; } this . _super ( ) ; }
Re-calculates the value if needed
Re - calculates the value if needed