I was looking at the jQuery bbq plugin, and couldn't find any mention of document.hash
anywhere in his code.
I assume getting the hash is at line 1094:
function get_fragment( url ) {
url = url || location.href;
return '#' + url.replace( /^[^#]*#?(.*)$/, '$1' );
};
And setting the hash at 818 But why use those instead of location.hash
?
Also what's the deal with this:
jq_bbq.pushState = jq_bbq_pushState = function( params, merge_mode ) {
Wouldn't jq_bbq_pushState = function...
be enough?