OLD | NEW |
(Empty) | |
| 1 (function() { |
| 2 |
| 3 var scopeSrc = [ |
| 4 'src/scope.js']; |
| 5 |
| 6 var minifillSrc = [ |
| 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 liteMinifillSrc = [ |
| 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 |
| 58 var maxifillSrc = [ |
| 59 'src/timeline.js', |
| 60 'src/maxifill-player.js', |
| 61 'src/animation-constructor.js', |
| 62 'src/effect-callback.js', |
| 63 'src/group-constructors.js']; |
| 64 |
| 65 var minifillTest = [ |
| 66 'test/js/animation-node.js', |
| 67 'test/js/apply-preserving-inline-style.js', |
| 68 'test/js/box-handler.js', |
| 69 'test/js/color-handler.js', |
| 70 'test/js/dimension-handler.js', |
| 71 'test/js/effect.js', |
| 72 'test/js/interpolation.js', |
| 73 'test/js/matrix-interpolation.js', |
| 74 'test/js/number-handler.js', |
| 75 'test/js/player.js', |
| 76 'test/js/player-finish-event.js', |
| 77 'test/js/property-interpolation.js', |
| 78 'test/js/tick.js', |
| 79 'test/js/timing.js', |
| 80 'test/js/transform-handler.js']; |
| 81 |
| 82 var maxifillTest = minifillTest.concat( |
| 83 'test/js/animation-constructor.js', |
| 84 'test/js/effect-callback.js', |
| 85 'test/js/group-constructors.js', |
| 86 'test/js/group-player.js', |
| 87 'test/js/group-player-finish-event.js', |
| 88 'test/js/timeline.js'); |
| 89 |
| 90 // This object specifies the source and test files for different Web Animation
build targets. |
| 91 var targetConfig = { |
| 92 'web-animations': { |
| 93 scopeSrc: scopeSrc, |
| 94 sharedSrc: sharedSrc, |
| 95 minifillSrc: minifillSrc, |
| 96 maxifillSrc: [], |
| 97 src: scopeSrc.concat(sharedSrc).concat(minifillSrc), |
| 98 test: minifillTest, |
| 99 }, |
| 100 'web-animations-next': { |
| 101 scopeSrc: scopeSrc, |
| 102 sharedSrc: sharedSrc, |
| 103 minifillSrc: minifillSrc, |
| 104 maxifillSrc: maxifillSrc, |
| 105 src: scopeSrc.concat(sharedSrc).concat(minifillSrc).concat(maxifillSrc), |
| 106 test: maxifillTest, |
| 107 }, |
| 108 'web-animations-next-lite': { |
| 109 scopeSrc: scopeSrc, |
| 110 sharedSrc: sharedSrc, |
| 111 minifillSrc: liteMinifillSrc, |
| 112 maxifillSrc: maxifillSrc, |
| 113 src: scopeSrc.concat(sharedSrc).concat(liteMinifillSrc).concat(maxifillSrc
), |
| 114 test: [], |
| 115 }, |
| 116 }; |
| 117 |
| 118 if (typeof module != 'undefined') |
| 119 module.exports = targetConfig; |
| 120 else |
| 121 window.webAnimationsTargetConfig = targetConfig; |
| 122 })(); |
OLD | NEW |