src/node/patcher/props.js
function set(name, element, previous, props) {
  if (set.handlers[name]) {
    set.handlers[name](name, element, previous, props);
  } else if (previous[name] !== props[name]) {
    element[name] = props[name];
  }
}
function set(name, element, previous, props) {
  if (set.handlers[name]) {
    set.handlers[name](name, element, previous, props);
  } else if (previous[name] !== props[name]) {
    element[name] = props[name];
  }
}
function set ( name , element , previous , props ) { if ( set . handlers [ name ] ) { set . handlers [ name ] ( name , element , previous , props ) ; } else if ( previous [ name ] !== props [ name ] ) { element [ name ] = props [ name ] ; } }
Sets a property.

@param  String name      The property name to set.
@param  Object element   A DOM element.
@param  Object previous  The previous state of properties.
@param  Object props     The properties to match on.
Sets a property .