From 1e8aae314a6f4075726ab50d69905f988a5a8ac2 Mon Sep 17 00:00:00 2001 From: Bert Pareyn Date: Fri, 19 Apr 2013 10:07:34 +0100 Subject: [PATCH] Remove legacy browser support --- jquery.ba-hashchange.js | 90 ----------------------------------------- 1 file changed, 90 deletions(-) diff --git a/jquery.ba-hashchange.js b/jquery.ba-hashchange.js index 47105f4..b11ccd4 100644 --- a/jquery.ba-hashchange.js +++ b/jquery.ba-hashchange.js @@ -294,96 +294,6 @@ timeout_id = setTimeout( poll, $.fn[ str_hashchange ].delay ); }; - // vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv - // vvvvvvvvvvvvvvvvvvv REMOVE IF NOT SUPPORTING IE6/7/8 vvvvvvvvvvvvvvvvvvv - // vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv - $.browser.msie && !supports_onhashchange && (function(){ - // Not only do IE6/7 need the "magical" Iframe treatment, but so does IE8 - // when running in "IE7 compatibility" mode. - - var iframe, - iframe_src; - - // When the event is bound and polling starts in IE 6/7, create a hidden - // Iframe for history handling. - self.start = function(){ - if ( !iframe ) { - iframe_src = $.fn[ str_hashchange ].src; - iframe_src = iframe_src && iframe_src + get_fragment(); - - // Create hidden Iframe. Attempt to make Iframe as hidden as possible - // by using techniques from http://www.paciellogroup.com/blog/?p=604. - iframe = $('