[Pkg-javascript-commits] [dojo] 09/17: fixes #16111, fx IE type check to avoid sporadic bug
David Prévot
taffit at moszumanska.debian.org
Thu Mar 24 04:28:31 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag 1.7.9
in repository dojo.
commit 1ca6f9d051b0d45f5da3d1191a2baf86578494c5
Author: Dylan Schiemann <dylan at dojotoolkit.org>
Date: Wed Dec 30 06:29:55 2015 -0700
fixes #16111, fx IE type check to avoid sporadic bug
(cherry picked from commit 359c1e71baea11fa77cb8a530cd86aace6914c13)
---
fx.js | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/fx.js b/fx.js
index 55160ff..5c74e68 100644
--- a/fx.js
+++ b/fx.js
@@ -51,8 +51,14 @@ if(!dojo.isAsync){
this.duration = 0;
arrayUtil.forEach(this._animations, function(a){
- this.duration += a.duration;
- if(a.delay){ this.duration += a.delay; }
+ if(a){
+ if(typeof a.duration != "undefined"){
+ this.duration += a.duration;
+ }
+ if(a.delay){
+ this.duration += a.delay;
+ }
+ }
}, this);
};
_chain.prototype = new Evented();
--
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