Skip to content

Commit

Permalink
Fix KeyFrameEffectOptions.
Browse files Browse the repository at this point in the history
[] introduces symbols that do not exist at runtime. This cl removes them and fix depending definitions.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=260000424
  • Loading branch information
jDramaix authored and rishipal committed Jul 25, 2019
1 parent 8e75af2 commit dff3a5c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 22 deletions.
29 changes: 8 additions & 21 deletions externs/browser/web_animations.js
Expand Up @@ -182,35 +182,22 @@ AnimationEffectTimingProperties.prototype.direction;
/** @type {string|undefined} */
AnimationEffectTimingProperties.prototype.easing;

/**
* @enum {string}
* @see https://www.w3.org/TR/web-animations/#the-iterationcompositeoperation-enumeration
*/
var IterationCompositeOperation = {
REPLACE: '',
ACCUMULATE: '',
};

/**
* @enum {string}
* @see https://www.w3.org/TR/web-animations/#the-compositeoperation-enumeration
*/
var CompositeOperation = {
REPLACE: '',
ADD: '',
ACCUMULATE: '',
};

/**
* @record
* @extends {AnimationEffectTimingProperties}
*/
var KeyframeEffectOptions = function() {};

/** @type {!IterationCompositeOperation|undefined} */
/**
* Possible values: 'replace', 'accumulate'
* @type {string|undefined}
*/
KeyframeEffectOptions.prototype.iterationComposite;

/** @type {!CompositeOperation|undefined} */
/**
* Possible values: 'replace', 'add', 'accumulate'
* @type {string|undefined}
*/
KeyframeEffectOptions.prototype.composite;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/com/google/javascript/jscomp/resources.json

Large diffs are not rendered by default.

0 comments on commit dff3a5c

Please sign in to comment.