1(function() { 2 3 var scopeSrc = [ 4 'src/scope.js']; 5 6 var webAnimations1Src = [ 7 'src/animation-node.js', 8 'src/effect.js', 9 'src/property-interpolation.js', 10 'src/animation.js', 11 'src/apply-preserving-inline-style.js', 12 'src/element-animatable.js', 13 'src/interpolation.js', 14 'src/matrix-interpolation.js', 15 'src/player.js', 16 'src/tick.js', 17 'src/matrix-decomposition.js', 18 'src/handler-utils.js', 19 'src/shadow-handler.js', 20 'src/number-handler.js', 21 'src/visibility-handler.js', 22 'src/color-handler.js', 23 'src/dimension-handler.js', 24 'src/box-handler.js', 25 'src/transform-handler.js', 26 'src/font-weight-handler.js', 27 'src/position-handler.js', 28 'src/shape-handler.js', 29 'src/property-names.js', 30 ]; 31 32 var liteWebAnimations1Src = [ 33 'src/animation-node.js', 34 'src/effect.js', 35 'src/property-interpolation.js', 36 'src/animation.js', 37 'src/apply.js', 38 'src/element-animatable.js', 39 'src/interpolation.js', 40 'src/player.js', 41 'src/tick.js', 42 'src/handler-utils.js', 43 'src/shadow-handler.js', 44 'src/number-handler.js', 45 'src/visibility-handler.js', 46 'src/color-handler.js', 47 'src/dimension-handler.js', 48 'src/box-handler.js', 49 'src/transform-handler.js', 50 'src/property-names.js', 51 ]; 52 53 54 var sharedSrc = [ 55 'src/timing-utilities.js', 56 'src/normalize-keyframes.js', 57 'src/deprecation.js', 58 ]; 59 60 var webAnimationsNextSrc = [ 61 'src/timeline.js', 62 'src/web-animations-next-player.js', 63 'src/animation-constructor.js', 64 'src/effect-callback.js', 65 'src/group-constructors.js']; 66 67 var webAnimations1Test = [ 68 'test/js/animation-node.js', 69 'test/js/apply-preserving-inline-style.js', 70 'test/js/box-handler.js', 71 'test/js/color-handler.js', 72 'test/js/dimension-handler.js', 73 'test/js/effect.js', 74 'test/js/interpolation.js', 75 'test/js/matrix-interpolation.js', 76 'test/js/number-handler.js', 77 'test/js/player.js', 78 'test/js/player-finish-event.js', 79 'test/js/property-interpolation.js', 80 'test/js/tick.js', 81 'test/js/timing.js', 82 'test/js/transform-handler.js']; 83 84 var webAnimationsNextTest = webAnimations1Test.concat( 85 'test/js/animation-constructor.js', 86 'test/js/effect-callback.js', 87 'test/js/group-constructors.js', 88 'test/js/group-player.js', 89 'test/js/group-player-finish-event.js', 90 'test/js/timeline.js'); 91 92 // This object specifies the source and test files for different Web Animation build targets. 93 var targetConfig = { 94 'web-animations': { 95 scopeSrc: scopeSrc, 96 sharedSrc: sharedSrc, 97 webAnimations1Src: webAnimations1Src, 98 webAnimationsNextSrc: [], 99 src: scopeSrc.concat(sharedSrc).concat(webAnimations1Src), 100 test: webAnimations1Test, 101 }, 102 'web-animations-next': { 103 scopeSrc: scopeSrc, 104 sharedSrc: sharedSrc, 105 webAnimations1Src: webAnimations1Src, 106 webAnimationsNextSrc: webAnimationsNextSrc, 107 src: scopeSrc.concat(sharedSrc).concat(webAnimations1Src).concat(webAnimationsNextSrc), 108 test: webAnimationsNextTest, 109 }, 110 'web-animations-next-lite': { 111 scopeSrc: scopeSrc, 112 sharedSrc: sharedSrc, 113 webAnimations1Src: liteWebAnimations1Src, 114 webAnimationsNextSrc: webAnimationsNextSrc, 115 src: scopeSrc.concat(sharedSrc).concat(liteWebAnimations1Src).concat(webAnimationsNextSrc), 116 test: [], 117 }, 118 }; 119 120 if (typeof module != 'undefined') 121 module.exports = targetConfig; 122 else 123 window.webAnimationsTargetConfig = targetConfig; 124})(); 125