update components

This commit is contained in:
Luke Pulverenti 2016-02-01 13:39:23 -05:00
parent e1420ddb93
commit 1508803d6e
4 changed files with 18 additions and 10 deletions

View File

@ -15,12 +15,12 @@
},
"devDependencies": {},
"ignore": [],
"version": "1.0.55",
"_release": "1.0.55",
"version": "1.0.56",
"_release": "1.0.56",
"_resolution": {
"type": "version",
"tag": "1.0.55",
"commit": "9550327596d1e5ce65f1de885549ad6a3d526f04"
"tag": "1.0.56",
"commit": "f7139158be99bd60bcf377ebfddf879a0564a91f"
},
"_source": "git://github.com/MediaBrowser/emby-webcomponents.git",
"_target": "~1.0.0",

View File

@ -1,4 +1,4 @@
define(['paperdialoghelper', 'inputManager', 'connectionManager', 'browser', 'css!./style', 'html!./icons', 'iron-icon-set', 'paper-fab', 'paper-icon-button'], function (paperdialoghelper, inputmanager, connectionManager, browser) {
define(['paperdialoghelper', 'inputManager', 'connectionManager', 'browser', 'css!./style', 'html!./icons', 'iron-icon-set', 'paper-fab', 'paper-icon-button', 'paper-spinner'], function (paperdialoghelper, inputmanager, connectionManager, browser) {
return function (options) {
@ -109,12 +109,20 @@ define(['paperdialoghelper', 'inputManager', 'connectionManager', 'browser', 'cs
function onSlideChangeStart(swiper, slide, image) {
slide.querySelector('paper-spinner').active = true;
var spinner = slide.querySelector('paper-spinner');
if (spinner) {
spinner.active = true;
}
}
function onSlideChangeEnd(swiper, slide, image) {
slide.querySelector('paper-spinner').active = false;
var spinner = slide.querySelector('paper-spinner');
if (spinner) {
spinner.active = false;
// Remove it because in IE it might just keep in spinning forever
spinner.parentNode.removeChild(spinner);
}
}
function getSwiperSlideHtmlFromSlide(item) {

View File

@ -36,7 +36,7 @@
"tag": "v1.1.0",
"commit": "abd9ee7c29f0aae7b583abfe0af9db7f2555eabf"
},
"_source": "git://github.com/polymerelements/iron-selector.git",
"_source": "git://github.com/PolymerElements/iron-selector.git",
"_target": "^1.0.0",
"_originalSource": "polymerelements/iron-selector"
"_originalSource": "PolymerElements/iron-selector"
}

View File

@ -34,6 +34,6 @@
"commit": "284332a905ddd60eab11901a82ac037976175cf8"
},
"_source": "git://github.com/Polymer/polymer.git",
"_target": "^1.0.0",
"_target": "^1.2.0",
"_originalSource": "Polymer/polymer"
}