lib/tarantula.js
function trimHash (uri) {
	var indexOfHash = uri.indexOf('#');
	return (indexOfHash != -1) ? uri.substring(0, indexOfHash) : uri;
}
function trimHash (uri) {
	var indexOfHash = uri.indexOf('#');
	return (indexOfHash != -1) ? uri.substring(0, indexOfHash) : uri;
}
function trimHash ( uri ) { var indexOfHash = uri . indexOf ( '#' ) ; return ( indexOfHash != - 1 ) ? uri . substring ( 0 , indexOfHash ) : uri ; }
Remove Hash part of a URL

@param {string} uri
The URL to remove hash from
@return {string}
The URL without hash
Remove Hash part of a URL