[Pkg-javascript-commits] [dojo] 34/41: fixes #16111, fx IE type check to avoid sporadic bug
David Prévot
taffit at moszumanska.debian.org
Thu Mar 24 04:28:41 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag 1.9.8
in repository dojo.
commit c50804de484d4edb69acdb1e9d023a4498a9f434
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 854c305..ff93bb1 100644
--- a/fx.js
+++ b/fx.js
@@ -44,8 +44,14 @@ define([
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