code: function ( obj, camel ) {
  		var result = string.trim( obj ).replace( /\s+/g, "-" );
  
  		if ( camel === true ) {
  			result = result.replace( /([A-Z])/g, "-$1" ).toLowerCase();
  		}
  
  		return result;
  	}
docs: Replaces all spaces in a string with dashes
  
  @method hyphenate
  @param  {String} obj   String to hyphenate
  @param {Boolean} camel [Optional] Hyphenate camelCase
  @return {String}       String with dashes instead of spaces