Permalink
Browse files

Remove bones level fix to backbone.js after fix got committed upstrea…

  • Loading branch information...
1 parent dc1315a commit 1024a16115db47fe6ace3cb79f5cb872645caf71 @lxbarth lxbarth committed Jul 20, 2011
Showing with 0 additions and 18 deletions.
  1. +0 −18 client/backbone.js
View
@@ -8,24 +8,6 @@ Backbone.Router.prototype.route = function(route, name, callback) {
}, this));
};
-// Fix for Backbone.History.start with 0.3.3 and IE7.
-// See https://github.com/documentcloud/backbone/issues/228
-Backbone.History.prototype.start = function() {
- var docMode = document.documentMode;
- var oldIE = ($.browser.msie && (!docMode || docMode <= 7));
- if (oldIE) {
- this.iframe = $('<iframe src="javascript:0" tabindex="-1" />').hide().appendTo('body')[0].contentWindow;
- this.iframe.document.open().close();
- this.iframe.location.hash = window.location.hash;
- }
- if ('onhashchange' in window && !oldIE) {
- $(window).bind('hashchange', this.checkUrl);
- } else {
- setInterval(this.checkUrl, this.interval);
- }
- return this.loadUrl();
-};
-
// Generate CSRF protection token that is valid for the specified amount of
// msec. The default is 1 second. Callers should provide the request path to
// ensure the cookie is not pervasive across requests.

0 comments on commit 1024a16

Please sign in to comment.