return (this._currentFrame * 125 * 0.8);
};
/*float*/ SVGAnimationElement.prototype.getSimpleDuration = function(){
- if (!!!this._simpleDuration && !!!this._end && (this._simpleDuration !== 0)) {
+ if (!this._simpleDuration && !this._end && (this._simpleDuration !== 0)) {
throw new DOMException(DOMException.NOT_SUPPORTED_ERR);
- } else if (!!this._simpleDuration && !!this._end) {
- var s = (this._simpleDuration > this._end - this._begin) ? this._end - this._begin : this._simpleDuration;
+ } else if (this._simpleDuration && this._end) {
+ var s = (this._simpleDuration > (this._end - this._begin)) ? this._end - this._begin : this._simpleDuration;
} else {
- var s = !!this._end ? this._end - this._begin : this._simpleDuration;
+ var s = this._end ? this._end - this._begin : this._simpleDuration;
}
return s;
};