[Pkg-javascript-commits] [dojo] 53/88: Workaround IE10's bizarre JIT bug, fixes #16425 !strict

David Prévot taffit at moszumanska.debian.org
Thu Aug 21 17:39:36 UTC 2014


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

taffit pushed a commit to annotated tag 1.8.5
in repository dojo.

commit 3faede14370ff3d1e72b13589bcf80867a8bf5b4
Author: Kris Zyp <kriszyp at gmail.com>
Date:   Thu Dec 6 17:57:18 2012 +0000

    Workaround IE10's bizarre JIT bug, fixes #16425 !strict
    
    git-svn-id: http://svn.dojotoolkit.org/src/branches/1.8/dojo@30135 560b804f-0ae3-0310-86f3-f6aa0a117693
---
 aspect.js | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/aspect.js b/aspect.js
index c6dd560..8f9612c 100644
--- a/aspect.js
+++ b/aspect.js
@@ -50,11 +50,8 @@ define([], function(){
 		if(previous && !around){
 			if(type == "after"){
 				// add the listener to the end of the list
-				var next = previous;
-				while(next){
-					previous = next;
-					next = next.next;
-				}
+				// note that we had to change this loop a little bit to workaround a bizarre IE10 JIT bug 
+				while(previous.next && (previous = previous.next)){}
 				previous.next = signal;
 				signal.previous = previous;
 			}else if(type == "before"){

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



More information about the Pkg-javascript-commits mailing list