Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
jslint
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeMallabone committed May 23, 2012
1 parent efba51d commit 5d774a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/lib/router.js
Expand Up @@ -192,7 +192,7 @@ _.extend(History.prototype, /*Events,*/ {
// 'onhashchange' is supported, determine how we check the URL state. // 'onhashchange' is supported, determine how we check the URL state.
if (this._hasPushState) { if (this._hasPushState) {
$(window).bind('popstate', this.checkUrl); $(window).bind('popstate', this.checkUrl);
} else if (this._wantsHashChange && ('onhashchange' in window) ) { } else if (this._wantsHashChange && ('onhashchange' in window)) {
$(window).bind('hashchange', this.checkUrl); $(window).bind('hashchange', this.checkUrl);
} else if (this._wantsHashChange) { } else if (this._wantsHashChange) {
this._checkUrlInterval = window.setInterval(this.checkUrl, this.interval); this._checkUrlInterval = window.setInterval(this.checkUrl, this.interval);
Expand Down

0 comments on commit 5d774a7

Please sign in to comment.