examples/bower_components/polymer/polymer.js
function(name, value) {
      // try to match this attribute to a property (attributes are
      // all lower-case, so this is case-insensitive search)
      var name = this.propertyForAttribute(name);
      if (name) {
        // filter out 'mustached' values, these are to be
        // replaced with bound-data and are not yet values
        // themselves
        if (value && value.search(scope.bindPattern) >= 0) {
          return;
        }
        // get original value
        var currentValue = this[name];
        // deserialize Boolean or Number values from attribute
        var value = this.deserializeValue(value, currentValue);
        // only act if the value has changed
        if (value !== currentValue) {
          // install new value (has side-effects)
          this[name] = value;
        }
      }
    }
function(name, value) {
      // try to match this attribute to a property (attributes are
      // all lower-case, so this is case-insensitive search)
      var name = this.propertyForAttribute(name);
      if (name) {
        // filter out 'mustached' values, these are to be
        // replaced with bound-data and are not yet values
        // themselves
        if (value && value.search(scope.bindPattern) >= 0) {
          return;
        }
        // get original value
        var currentValue = this[name];
        // deserialize Boolean or Number values from attribute
        var value = this.deserializeValue(value, currentValue);
        // only act if the value has changed
        if (value !== currentValue) {
          // install new value (has side-effects)
          this[name] = value;
        }
      }
    }
function ( name , value ) { // try to match this attribute to a property (attributes are
 // all lower-case, so this is case-insensitive search)
 var name = this . propertyForAttribute ( name ) ; if ( name ) { // filter out 'mustached' values, these are to be
 // replaced with bound-data and are not yet values
 // themselves
 if ( value && value . search ( scope . bindPattern ) >= 0 ) { return ; } // get original value
 var currentValue = this [ name ] ; // deserialize Boolean or Number values from attribute
 var value = this . deserializeValue ( value , currentValue ) ; // only act if the value has changed
 if ( value !== currentValue ) { // install new value (has side-effects)
 this [ name ] = value ; } } }
if attribute 'name' is mapped to a property, deserialize 'value' into that property
if attribute name is mapped to a property deserialize value into that property