components/blockly-src/blocks/lists.js
function(xmlElement) {
    // Note: Until January 2013 this block did not have mutations,
    // so 'statement' defaults to false and 'at' defaults to true.
    var isStatement = (xmlElement.getAttribute('statement') == 'true');
    this.updateStatement_(isStatement);
    var isAt = (xmlElement.getAttribute('at') != 'false');
    this.updateAt_(isAt);
  }
function(xmlElement) {
    // Note: Until January 2013 this block did not have mutations,
    // so 'statement' defaults to false and 'at' defaults to true.
    var isStatement = (xmlElement.getAttribute('statement') == 'true');
    this.updateStatement_(isStatement);
    var isAt = (xmlElement.getAttribute('at') != 'false');
    this.updateAt_(isAt);
  }
function ( xmlElement ) { // Note: Until January 2013 this block did not have mutations, // so 'statement' defaults to false and 'at' defaults to true. var isStatement = ( xmlElement . getAttribute ( 'statement' ) == 'true' ) ; this . updateStatement_ ( isStatement ) ; var isAt = ( xmlElement . getAttribute ( 'at' ) != 'false' ) ; this . updateAt_ ( isAt ) ; }
Parse XML to restore the 'AT' input.
@param {!Element} xmlElement XML storage element.
@this Blockly.Block
Parse XML to restore the AT input .