diff --git a/dashboard-ui/bower_components/eventie/.bower.json b/dashboard-ui/bower_components/eventie/.bower.json index 917d217ea8..6b5b662fdc 100644 --- a/dashboard-ui/bower_components/eventie/.bower.json +++ b/dashboard-ui/bower_components/eventie/.bower.json @@ -30,6 +30,6 @@ "commit": "14d2ca3df97da64c820829a8310f9198fbafbcfa" }, "_source": "git://github.com/desandro/eventie.git", - "_target": "^1", + "_target": "~1.0.3", "_originalSource": "eventie" } \ 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 157225ee71..2f654d71c6 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 diff --git a/dashboard-ui/scripts/site.js b/dashboard-ui/scripts/site.js index 9471a948a6..9cd0e7ddaf 100644 --- a/dashboard-ui/scripts/site.js +++ b/dashboard-ui/scripts/site.js @@ -2452,11 +2452,19 @@ var AppInfo = {}; Dashboard.initPromise = new Promise(function (resolve, reject) { function onWebComponentsReady() { - if (Dashboard.isRunningInCordova()) { - initCordova(resolve); - } else { - init(resolve, Dashboard.capabilities()); - } + + var link = document.createElement('link'); + link.rel = 'import'; + + link.onload = function() { + if (Dashboard.isRunningInCordova()) { + initCordova(resolve); + } else { + init(resolve, Dashboard.capabilities()); + } + }; + link.href = "vulcanize-out.html?v=" + window.dashboardVersion; + document.head.appendChild(link); } setBrowserInfo(isMobile); @@ -2466,10 +2474,7 @@ var AppInfo = {}; if (supportsNativeWebComponents) { onWebComponentsReady(); } else { - document.addEventListener('WebComponentsReady', function () { - - setTimeout(onWebComponentsReady, 500); - }); + document.addEventListener('WebComponentsReady', onWebComponentsReady); } }); });