update imports

This commit is contained in:
Luke Pulverenti 2015-11-28 22:00:07 -05:00
parent 7029c9112b
commit 20df393f36
3 changed files with 18 additions and 13 deletions

View File

@ -30,6 +30,6 @@
"commit": "14d2ca3df97da64c820829a8310f9198fbafbcfa"
},
"_source": "git://github.com/desandro/eventie.git",
"_target": "^1",
"_target": "~1.0.3",
"_originalSource": "eventie"
}

View File

@ -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"
}

View File

@ -2452,11 +2452,19 @@ var AppInfo = {};
Dashboard.initPromise = new Promise(function (resolve, reject) {
function onWebComponentsReady() {
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);
}
});
});