Added Polymer

This commit is contained in:
Thaum
2014-11-26 10:18:35 +00:00
parent 5eea4714b2
commit 3408ba9e8d
1210 changed files with 394645 additions and 47 deletions

View File

@@ -0,0 +1,16 @@
suite('tick-tests', function() {
setup(function() { webAnimationsMinifill.timeline._players = []; });
test('players are in effect but ticking stops once forward fill is reached', function() {
tick(90);
var player = document.body.animate([], {duration: 1000, fill: 'forwards'});
tick(100);
tick(600);
assert.equal(webAnimationsMinifill.timeline._players.length, 1);
assert.equal(isTicking(), true);
tick(1100);
assert.equal(player.finished, true);
assert.equal(webAnimationsMinifill.timeline._players.length, 1);
assert.equal(isTicking(), false);
});
});