Alien-Web-HalBrowser
view release on metacpan or search on metacpan
share/vendor/js/backbone.js view on Meta::CPAN
103010311032103310341035103610371038103910401041104210431044104510461047104810491050History.started = false;
// Set up all inheritable *
*Backbone
.History** properties and methods.
_.extend(History.
prototype
, Events, {
// The
default
interval to poll
for
hash changes,
if
necessary, is
// twenty
times
a second.
interval: 50,
// in Firefox where location.hash will always be decoded.
getHash: function(window) {
var match = (window || this).location.href.match(/
#(.*)$/);
return
match ? match[1] :
''
;
},
// Get the cross-browser normalized URL fragment, either from the URL,
// the hash, or the
override
.
getFragment: function(fragment, forcePushState) {
if
(fragment == null) {
if
(this._hasPushState || !this._wantsHashChange || forcePushState) {
( run in 0.230 second using v1.01-cache-2.11-cpan-0f795438458 )