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
cc555065f7
commit
c3fd6c022f
54 changed files with 296 additions and 87 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "iron-overlay-behavior",
|
||||
"version": "1.6.0",
|
||||
"version": "1.6.1",
|
||||
"license": "http://polymer.github.io/LICENSE.txt",
|
||||
"description": "Provides a behavior for making an element an overlay",
|
||||
"private": true,
|
||||
|
@ -35,11 +35,11 @@
|
|||
},
|
||||
"ignore": [],
|
||||
"homepage": "https://github.com/polymerelements/iron-overlay-behavior",
|
||||
"_release": "1.6.0",
|
||||
"_release": "1.6.1",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.6.0",
|
||||
"commit": "5179ec9ad80a9c30b77486ffe9599828f944ab4a"
|
||||
"tag": "v1.6.1",
|
||||
"commit": "34f2ed86b2e46f2827dd09594ae99acff0f28029"
|
||||
},
|
||||
"_source": "git://github.com/polymerelements/iron-overlay-behavior.git",
|
||||
"_target": "^1.0.0",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "iron-overlay-behavior",
|
||||
"version": "1.6.0",
|
||||
"version": "1.6.1",
|
||||
"license": "http://polymer.github.io/LICENSE.txt",
|
||||
"description": "Provides a behavior for making an element an overlay",
|
||||
"private": true,
|
||||
|
|
|
@ -315,7 +315,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
|
||||
/**
|
||||
* Returns the deepest overlay in the path.
|
||||
* @param {?Array<Element>} path
|
||||
* @param {Array<Element>=} path
|
||||
* @return {Element|undefined}
|
||||
* @private
|
||||
*/
|
||||
|
|
|
@ -206,13 +206,14 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
assert.equal(callCount, 0, 'iron-resize should not be called');
|
||||
});
|
||||
|
||||
test('open overlay triggers iron-resize when its content changes', function() {
|
||||
test('open overlay triggers iron-resize when its content changes', function(done) {
|
||||
runAfterOpen(overlay, function() {
|
||||
var spy = sinon.stub();
|
||||
overlay.addEventListener('iron-resize', spy);
|
||||
Polymer.dom(overlay).appendChild(document.createElement('div'));
|
||||
Polymer.dom.flush();
|
||||
assert.equal(spy.callCount, 1, 'iron-resize should be called once');
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue