[Pkg-javascript-commits] [dojo] 22/29: fixes #16111, fx IE type check to avoid sporadic bug
David Prévot
taffit at moszumanska.debian.org
Thu Mar 24 04:28:35 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag 1.8.11
in repository dojo.
commit baaf7515a7590b07bfd192c7b78e8b1bd1b595e5
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 2a44bc4..9ff3b68 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