[Pkg-javascript-commits] [dojo] 73/87: refs #16425. Backport fix to 1.7 + test case. !strict.
David Prévot
taffit at moszumanska.debian.org
Thu Aug 21 17:39:23 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag 1.7.5
in repository dojo.
commit bc503df09aa5f9a68207bc0296d09080d515a1fc
Author: Christophe Jolif <cjolif at gmail.com>
Date: Wed Jan 9 12:05:21 2013 +0000
refs #16425. Backport fix to 1.7 + test case. !strict.
git-svn-id: http://svn.dojotoolkit.org/src/branches/1.7/dojo@30293 560b804f-0ae3-0310-86f3-f6aa0a117693
---
aspect.js | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/aspect.js b/aspect.js
index 38be8bd..ffc758d 100644
--- a/aspect.js
+++ b/aspect.js
@@ -141,11 +141,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