[Pkg-javascript-commits] [backbone] 208/281: reverting previous change (#859)

Jonas Smedegaard js at moszumanska.debian.org
Sat May 3 17:02:13 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to tag 0.9.0
in repository backbone.

commit ff176ac61f643b683b5e2a8ce63d4caa38d66af3
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date:   Tue Jan 17 10:17:42 2012 -0500

    reverting previous change (#859)
---
 backbone.js | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/backbone.js b/backbone.js
index 1503979..db86523 100644
--- a/backbone.js
+++ b/backbone.js
@@ -799,13 +799,7 @@
       var docMode           = document.documentMode;
       var oldIE             = (isExplorer.exec(navigator.userAgent.toLowerCase()) && (!docMode || docMode <= 7));
       if (oldIE) {
-        $('<iframe></iframe')
-          .attr('src', 'javascript:document.open();document.domain="' + document.domain + '";document.close();')
-          .bind('load', $.proxy(function(e) {
-            this.iframe = e.target.contentWindow;
-          }, this))
-          .hide().appendTo('body');
-
+        this.iframe = $('<iframe src="javascript:0" tabindex="-1" />').hide().appendTo('body')[0].contentWindow;
         this.navigate(fragment);
       }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/backbone.git



More information about the Pkg-javascript-commits mailing list