From 826a115d810f9c6dfae3f42cb19fe5f8c129e81f Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 23 Apr 2016 23:04:04 -0400 Subject: [PATCH] update components --- .../bower_components/emby-webcomponents/.bower.json | 8 ++++---- .../emby-webcomponents/images/basicimagefetcher.js | 12 ++---------- .../images/persistentimagefetcher.js | 12 ++---------- .../bower_components/paper-behaviors/.bower.json | 4 ++-- .../bower_components/paper-ripple/.bower.json | 6 +++--- 5 files changed, 13 insertions(+), 29 deletions(-) diff --git a/dashboard-ui/bower_components/emby-webcomponents/.bower.json b/dashboard-ui/bower_components/emby-webcomponents/.bower.json index d0a6ed2cf0..77029be327 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/.bower.json +++ b/dashboard-ui/bower_components/emby-webcomponents/.bower.json @@ -16,12 +16,12 @@ }, "devDependencies": {}, "ignore": [], - "version": "1.2.37", - "_release": "1.2.37", + "version": "1.2.38", + "_release": "1.2.38", "_resolution": { "type": "version", - "tag": "1.2.37", - "commit": "3755b689ecaafe8e9c10971876412fb9b7721357" + "tag": "1.2.38", + "commit": "ab981369a76f26211bc81fa383c3cb64f2298399" }, "_source": "https://github.com/MediaBrowser/emby-webcomponents.git", "_target": "^1.2.0", diff --git a/dashboard-ui/bower_components/emby-webcomponents/images/basicimagefetcher.js b/dashboard-ui/bower_components/emby-webcomponents/images/basicimagefetcher.js index b63e716810..4b3f17b241 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/images/basicimagefetcher.js +++ b/dashboard-ui/bower_components/emby-webcomponents/images/basicimagefetcher.js @@ -4,16 +4,8 @@ define([], function () { if (elem.tagName !== "IMG") { - return new Promise(function (resolve, reject) { - - var tmp = new Image(); - - tmp.onload = function () { - elem.style.backgroundImage = "url('" + url + "')"; - resolve(elem); - }; - tmp.src = url; - }); + elem.style.backgroundImage = "url('" + url + "')"; + return Promise.resolve(elem); } else { elem.setAttribute("src", url); diff --git a/dashboard-ui/bower_components/emby-webcomponents/images/persistentimagefetcher.js b/dashboard-ui/bower_components/emby-webcomponents/images/persistentimagefetcher.js index 4a0c5b588d..bc1ebc769a 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/images/persistentimagefetcher.js +++ b/dashboard-ui/bower_components/emby-webcomponents/images/persistentimagefetcher.js @@ -4,16 +4,8 @@ define(['cryptojs-md5'], function () { if (elem.tagName !== "IMG") { - return new Promise(function (resolve, reject) { - - var tmp = new Image(); - - tmp.onload = function () { - elem.style.backgroundImage = "url('" + url + "')"; - resolve(elem); - }; - tmp.src = url; - }); + elem.style.backgroundImage = "url('" + url + "')"; + return Promise.resolve(elem); } else { elem.setAttribute("src", url); diff --git a/dashboard-ui/bower_components/paper-behaviors/.bower.json b/dashboard-ui/bower_components/paper-behaviors/.bower.json index a6b333d335..2b04bf9f8a 100644 --- a/dashboard-ui/bower_components/paper-behaviors/.bower.json +++ b/dashboard-ui/bower_components/paper-behaviors/.bower.json @@ -45,7 +45,7 @@ "tag": "v1.0.11", "commit": "e3c1ab0c72905b58fb4d9adc2921ea73b5c085a5" }, - "_source": "git://github.com/polymerelements/paper-behaviors.git", + "_source": "git://github.com/PolymerElements/paper-behaviors.git", "_target": "^1.0.0", - "_originalSource": "polymerelements/paper-behaviors" + "_originalSource": "PolymerElements/paper-behaviors" } \ No newline at end of file diff --git a/dashboard-ui/bower_components/paper-ripple/.bower.json b/dashboard-ui/bower_components/paper-ripple/.bower.json index 2f654d71c6..157225ee71 100644 --- a/dashboard-ui/bower_components/paper-ripple/.bower.json +++ b/dashboard-ui/bower_components/paper-ripple/.bower.json @@ -32,14 +32,14 @@ "iron-test-helpers": "PolymerElements/iron-test-helpers#^1.0.0" }, "ignore": [], - "homepage": "https://github.com/polymerelements/paper-ripple", + "homepage": "https://github.com/PolymerElements/paper-ripple", "_release": "1.0.5", "_resolution": { "type": "version", "tag": "v1.0.5", "commit": "d72e7a9a8ab518b901ed18dde492df3b87a93be5" }, - "_source": "git://github.com/polymerelements/paper-ripple.git", + "_source": "git://github.com/PolymerElements/paper-ripple.git", "_target": "^1.0.0", - "_originalSource": "polymerelements/paper-ripple" + "_originalSource": "PolymerElements/paper-ripple" } \ No newline at end of file