From 9cfc308047387d592ea11852f45cb74ee39d337b Mon Sep 17 00:00:00 2001 From: daniel tabarcea Date: Mon, 18 Sep 2017 16:30:36 +0300 Subject: [PATCH 1/2] fix(linting-errors): - fixed missing behavior error - connects unicef/etools-issues#727 --- etools-logs-behavior.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etools-logs-behavior.html b/etools-logs-behavior.html index ecaada7..09190d0 100644 --- a/etools-logs-behavior.html +++ b/etools-logs-behavior.html @@ -57,7 +57,8 @@ } /** @polymerBehavior EtoolsLogsBehavior */ - window.EtoolsLogsBehavior = window.EtoolsLogsBehavior || defineEtoolsLogs(); + window.EtoolsLogsBehavior = window.EtoolsLogsBehavior || defineEtoolsLogs() || {}; + })(window); From 157d7805835938430c14594f3c7e872c347fa751 Mon Sep 17 00:00:00 2001 From: daniel tabarcea Date: Mon, 18 Sep 2017 16:31:22 +0300 Subject: [PATCH 2/2] fix(linting-errors): - added commentary --- etools-logs-behavior.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etools-logs-behavior.html b/etools-logs-behavior.html index 09190d0..9d18569 100644 --- a/etools-logs-behavior.html +++ b/etools-logs-behavior.html @@ -58,7 +58,7 @@ /** @polymerBehavior EtoolsLogsBehavior */ window.EtoolsLogsBehavior = window.EtoolsLogsBehavior || defineEtoolsLogs() || {}; - + // the || {} at the end is there to make the linter happy })(window);