mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
2846174b86
commit
003271cec1
9 changed files with 35 additions and 27 deletions
|
@ -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 () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue