代码拉取完成,页面将自动刷新
// Copyright 2014 Google Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
(function() {
var scopeSrc = [
'src/scope.js'];
var webAnimations1Src = [
'src/keyframe-interpolations.js',
'src/property-interpolation.js',
'src/keyframe-effect.js',
'src/apply-preserving-inline-style.js',
'src/element-animatable.js',
'src/interpolation.js',
'src/matrix-interpolation.js',
'src/animation.js',
'src/tick.js',
'src/matrix-decomposition.js',
'src/handler-utils.js',
'src/shadow-handler.js',
'src/number-handler.js',
'src/visibility-handler.js',
'src/color-handler.js',
'src/dimension-handler.js',
'src/box-handler.js',
'src/transform-handler.js',
'src/font-weight-handler.js',
'src/position-handler.js',
'src/shape-handler.js',
'src/property-names.js',
];
var webAnimations1BonusSrc = [
'src/web-animations-bonus-cancel-events.js',
'src/web-animations-bonus-object-form-keyframes.js',
];
var liteWebAnimations1Src = [
'src/keyframe-interpolations.js',
'src/property-interpolation.js',
'src/keyframe-effect.js',
'src/apply.js',
'src/element-animatable.js',
'src/interpolation.js',
'src/animation.js',
'src/tick.js',
'src/handler-utils.js',
'src/shadow-handler.js',
'src/number-handler.js',
'src/visibility-handler.js',
'src/color-handler.js',
'src/dimension-handler.js',
'src/box-handler.js',
'src/transform-handler.js',
'src/property-names.js',
];
var sharedSrc = [
'src/timing-utilities.js',
'src/normalize-keyframes.js',
'src/deprecation.js',
];
var webAnimationsNextSrc = [
'src/timeline.js',
'src/web-animations-next-animation.js',
'src/keyframe-effect-constructor.js',
'src/effect-callback.js',
'src/group-constructors.js'];
var webAnimations1PolyfillTests = [
'test/js/animation-cancel-event.js',
'test/js/animation-finish-event.js',
'test/js/animation.js',
'test/js/apply-preserving-inline-style.js',
'test/js/box-handler.js',
'test/js/color-handler.js',
'test/js/dimension-handler.js',
'test/js/interpolation.js',
'test/js/keyframes.js',
'test/js/matrix-interpolation.js',
'test/js/number-handler.js',
'test/js/property-interpolation.js',
'test/js/tick.js',
'test/js/timing-utilities.js',
'test/js/timing.js',
'test/js/transform-handler.js',
'test/js/visibility-handler.js'];
var webAnimationsNextPolyfillTests = webAnimations1PolyfillTests.concat(
'test/js/effect-callback.js',
'test/js/group-animation-cancel-event.js',
'test/js/group-animation-finish-event.js',
'test/js/group-animation.js',
'test/js/group-constructors.js',
'test/js/keyframe-effect-constructor.js',
'test/js/timeline.js',
'test/js/web-animations-next-animation.js');
var webAnimations1WebPlatformTests = [
'test/web-platform-tests/web-animations/animation-model/animation-types/discrete-animation.html',
'test/web-platform-tests/web-animations/animation-model/keyframe-effects/effect-value-context.html',
'test/web-platform-tests/web-animations/animation-model/keyframe-effects/the-effect-value-of-a-keyframe-effect.html',
'test/web-platform-tests/web-animations/interfaces/Animatable/animate-basic.html',
'test/web-platform-tests/web-animations/interfaces/Animation/cancel.html',
'test/web-platform-tests/web-animations/interfaces/Animation/id.html',
'test/web-platform-tests/web-animations/interfaces/Animation/pause.html',
'test/web-platform-tests/web-animations/interfaces/Animation/play.html',
'test/web-platform-tests/web-animations/interfaces/Animation/playState.html',
'test/web-platform-tests/web-animations/interfaces/Animation/startTime.html',
'test/web-platform-tests/web-animations/interfaces/KeyframeEffect/effect-easing.html',
'test/web-platform-tests/web-animations/timing-model/animation-effects/active-time.html',
'test/web-platform-tests/web-animations/timing-model/animation-effects/simple-iteration-progress.html',
];
var webAnimationsNextWebPlatformTests = [
// TODO: Bring web-animations-next back up to speed with the spec to reenable testing everything.
// 'test/web-platform-tests/web-animations/**/*.html',
...webAnimations1WebPlatformTests,
];
// This object specifies the source and test files for different Web Animation build targets.
var targetConfig = {
'web-animations': {
scopeSrc: scopeSrc,
sharedSrc: sharedSrc,
webAnimations1Src: webAnimations1Src,
webAnimations1BonusSrc: webAnimations1BonusSrc,
webAnimationsNextSrc: [],
src: scopeSrc.concat(sharedSrc).concat(webAnimations1Src).concat(webAnimations1BonusSrc),
polyfillTests: webAnimations1PolyfillTests,
webPlatformTests: webAnimations1WebPlatformTests,
},
'web-animations-next': {
scopeSrc: scopeSrc,
sharedSrc: sharedSrc,
webAnimations1Src: webAnimations1Src,
webAnimations1BonusSrc: webAnimations1BonusSrc,
webAnimationsNextSrc: webAnimationsNextSrc,
src: scopeSrc.concat(sharedSrc).concat(webAnimations1Src).concat(webAnimations1BonusSrc).concat(webAnimationsNextSrc),
polyfillTests: webAnimationsNextPolyfillTests,
webPlatformTests: webAnimationsNextWebPlatformTests,
},
'web-animations-next-lite': {
scopeSrc: scopeSrc,
sharedSrc: sharedSrc,
webAnimations1Src: liteWebAnimations1Src,
webAnimations1BonusSrc: webAnimations1BonusSrc,
webAnimationsNextSrc: webAnimationsNextSrc,
src: scopeSrc.concat(sharedSrc).concat(liteWebAnimations1Src).concat(webAnimations1BonusSrc).concat(webAnimationsNextSrc),
polyfillTests: [],
webPlatformTests: [],
},
};
if (typeof module != 'undefined')
module.exports = targetConfig;
else
window.webAnimationsTargetConfig = targetConfig;
})();
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。