dist/backbone-validation.js
function(attrName) {
      return attrName.replace(/(?:^\w|[A-Z]|\b\w)/g, function(match, index) {
        return index === 0 ? match.toUpperCase() : ' ' + match.toLowerCase();
      }).replace(/_/g, ' ');
    }
function(attrName) {
      return attrName.replace(/(?:^\w|[A-Z]|\b\w)/g, function(match, index) {
        return index === 0 ? match.toUpperCase() : ' ' + match.toLowerCase();
      }).replace(/_/g, ' ');
    }
function ( attrName ) { return attrName . replace ( / (?:^\w|[A-Z]|\b\w) / g , function ( match , index ) { return index === 0 ? match . toUpperCase ( ) : ' ' + match . toLowerCase ( ) ; } ) . replace ( / _ / g , ' ' ) ; }
Converts attributeName or attribute_name to Attribute name
Converts attributeName or attribute_name to Attribute name