components/blockly-src/blocks/logic.js
function(xmlElement) {
    this.elseifCount_ = parseInt(xmlElement.getAttribute('elseif'), 10) || 0;
    this.elseCount_ = parseInt(xmlElement.getAttribute('else'), 10) || 0;
    this.updateShape_();
  }
function(xmlElement) {
    this.elseifCount_ = parseInt(xmlElement.getAttribute('elseif'), 10) || 0;
    this.elseCount_ = parseInt(xmlElement.getAttribute('else'), 10) || 0;
    this.updateShape_();
  }
function ( xmlElement ) { this . elseifCount_ = parseInt ( xmlElement . getAttribute ( 'elseif' ) , 10 ) || 0 ; this . elseCount_ = parseInt ( xmlElement . getAttribute ( 'else' ) , 10 ) || 0 ; this . updateShape_ ( ) ; }
Parse XML to restore the else-if and else inputs.
@param {!Element} xmlElement XML storage element.
@this Blockly.Block
Parse XML to restore the else - if and else inputs .