tutorials/responsive-design/step4/example.js
function getStateValues (size, self) {
  var width = $(self.getDOMNode()).width();
  return {
    profile: width > size ? 'large' : 'small'
  };
}
function getStateValues (size, self) {
  var width = $(self.getDOMNode()).width();
  return {
    profile: width > size ? 'large' : 'small'
  };
}
function getStateValues ( size , self ) { var width = $ ( self . getDOMNode ( ) ) . width ( ) ; return { profile : width > size ? 'large' : 'small' } ; }
simple function to return the state object that contains the "profile" value
simple function to return the state object that contains the profile value