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

merge from dev

This commit is contained in:
Luke Pulverenti 2015-12-14 10:43:03 -05:00
parent 1c8f02ce0f
commit 33b01d778c
911 changed files with 34157 additions and 57125 deletions

View file

@ -188,6 +188,26 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
});
});
suite('noink attribute', function() {
var tabs;
setup(function () {
tabs = fixture('basic');
});
test('noink attribute propagates to all descendant tabs', function() {
tabs.noink = true;
Array.prototype.slice.apply(tabs.querySelectorAll('paper-tab')).forEach(function(tab) {
assert.isTrue(tab.noink);
});
tabs.noink = false;
Array.prototype.slice.apply(tabs.querySelectorAll('paper-tab')).forEach(function(tab) {
assert.isFalse(tab.noink);
});
});
});
</script>
</body>