From 1bd7090b73a796ef7f0692f311e7da40a9b5c99b Mon Sep 17 00:00:00 2001 From: valdrinkoshi Date: Tue, 14 Feb 2017 14:05:44 -0800 Subject: [PATCH 1/4] WebComponentsReady fired once. --- tests/load.html | 5 +++-- webcomponents-loader.js | 11 +++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/load.html b/tests/load.html index f498d86..f5ac417 100644 --- a/tests/load.html +++ b/tests/load.html @@ -16,8 +16,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN window.addEventListener('HTMLImportsLoaded', function() { window.importsOk = true; }); + window.webComponentsReadyCount = 0; window.addEventListener('WebComponentsReady', function() { - window.webComponentsReady = true; + window.webComponentsReadyCount++; }); @@ -28,7 +29,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN