1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update components

This commit is contained in:
Luke Pulverenti 2016-06-28 22:44:25 -04:00
parent 2846174b86
commit 003271cec1
9 changed files with 35 additions and 27 deletions

View file

@ -211,6 +211,20 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
ripple.downAction();
ripple.upAction();
});
test('reuse a paper-ripple', function (done) {
var ripple = document.createElement('paper-ripple');
Polymer.dom(rippleContainer).appendChild(ripple);
Polymer.dom(rippleContainer).removeChild(ripple);
ripple.addEventListener('transitionend', function() {
expect(ripple.parentNode).to.be.ok;
Polymer.dom(document.body).removeChild(ripple);
done();
});
Polymer.dom(document.body).appendChild(ripple);
ripple.downAction();
ripple.upAction();
});
});
suite('avoid double transitionend event', function () {