You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2020/11/24 10:26:49 UTC

[myfaces-tobago] branch master updated: fixed codeql errors

This is an automated email from the ASF dual-hosted git repository.

bommel pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


The following commit(s) were added to refs/heads/master by this push:
     new cd148a8  fixed codeql errors
     new 8f00101  Merge pull request #133 from bohmber/master
cd148a8 is described below

commit cd148a8bf664d0a1e4e598b7464074e512d99ad3
Author: Bernd Bohmann <bo...@apache.org>
AuthorDate: Tue Nov 24 11:00:01 2020 +0100

    fixed codeql errors
---
 tobago-theme/tobago-theme-standard/npm/dist/js/tobago-range.js     | 2 +-
 tobago-theme/tobago-theme-standard/npm/dist/js/tobago-range.js.map | 2 +-
 tobago-theme/tobago-theme-standard/npm/dist/js/tobago.js           | 2 +-
 tobago-theme/tobago-theme-standard/npm/dist/js/tobago.js.map       | 2 +-
 tobago-theme/tobago-theme-standard/npm/ts/tobago-range.ts          | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/tobago-theme/tobago-theme-standard/npm/dist/js/tobago-range.js b/tobago-theme/tobago-theme-standard/npm/dist/js/tobago-range.js
index 883438c..7e4afc0 100644
--- a/tobago-theme/tobago-theme-standard/npm/dist/js/tobago-range.js
+++ b/tobago-theme/tobago-theme-standard/npm/dist/js/tobago-range.js
@@ -38,7 +38,7 @@ class Range extends HTMLElement {
         let tooltip = this.tooltip;
         let range = this.range;
         // update value to display
-        this.tooltipBody.innerHTML = `${range.value}`; // todo: use html from lit-html
+        this.tooltipBody.textContent = range.value; // todo: use html from lit-html
         // init
         if (!this.popper) {
             this.popper = new Popper(range, tooltip, {
diff --git a/tobago-theme/tobago-theme-standard/npm/dist/js/tobago-range.js.map b/tobago-theme/tobago-theme-standard/npm/dist/js/tobago-range.js.map
index c3f4db7..27d4bf3 100644
--- a/tobago-theme/tobago-theme-standard/npm/dist/js/tobago-range.js.map
+++ b/tobago-theme/tobago-theme-standard/npm/dist/js/tobago-range.js.map
@@ -1 +1 @@
-{"version":3,"file":"tobago-range.js","sourceRoot":"","sources":["../../ts/tobago-range.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,MAAM,KAAM,SAAQ,WAAW;IAK7B;QACE,KAAK,EAAE,CAAC;IACV,CAAC;IAED,iBAAiB;QACf,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACvB,IAAI,QAAQ,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC1C,KAAK,CAAC,gBAAgB,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QAC1C,KAAK,CAAC,gBAAgB,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;IAC5C,CAAC;IAED,IAAI,KAAK;QACP,OAAO, [...]
\ No newline at end of file
+{"version":3,"file":"tobago-range.js","sourceRoot":"","sources":["../../ts/tobago-range.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,MAAM,KAAM,SAAQ,WAAW;IAK7B;QACE,KAAK,EAAE,CAAC;IACV,CAAC;IAED,iBAAiB;QACf,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACvB,IAAI,QAAQ,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC1C,KAAK,CAAC,gBAAgB,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QAC1C,KAAK,CAAC,gBAAgB,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;IAC5C,CAAC;IAED,IAAI,KAAK;QACP,OAAO, [...]
\ No newline at end of file
diff --git a/tobago-theme/tobago-theme-standard/npm/dist/js/tobago.js b/tobago-theme/tobago-theme-standard/npm/dist/js/tobago.js
index 221ac84..5f06162 100644
--- a/tobago-theme/tobago-theme-standard/npm/dist/js/tobago.js
+++ b/tobago-theme/tobago-theme-standard/npm/dist/js/tobago.js
@@ -7535,7 +7535,7 @@
             let tooltip = this.tooltip;
             let range = this.range;
             // update value to display
-            this.tooltipBody.innerHTML = `${range.value}`; // todo: use html from lit-html
+            this.tooltipBody.textContent = range.value; // todo: use html from lit-html
             // init
             if (!this.popper) {
                 this.popper = new Popper(range, tooltip, {
diff --git a/tobago-theme/tobago-theme-standard/npm/dist/js/tobago.js.map b/tobago-theme/tobago-theme-standard/npm/dist/js/tobago.js.map
index 495fa97..4ca7aac 100644
--- a/tobago-theme/tobago-theme-standard/npm/dist/js/tobago.js.map
+++ b/tobago-theme/tobago-theme-standard/npm/dist/js/tobago.js.map
@@ -1 +1 @@
-{"version":3,"file":"tobago.js","sources":["tobago-listener.js","tobago-utils.js","tobago-bar.js","../../node_modules/popper.js/dist/esm/popper.js","tobago-dropdown.js","../../node_modules/vanillajs-datepicker/js/lib/utils.js","../../node_modules/vanillajs-datepicker/js/lib/date.js","../../node_modules/vanillajs-datepicker/js/lib/date-format.js","../../node_modules/vanillajs-datepicker/js/lib/event.js","../../node_modules/vanillajs-datepicker/js/i18n/base-locales.js","../../node_modules/ [...]
\ No newline at end of file
+{"version":3,"file":"tobago.js","sources":["tobago-listener.js","tobago-utils.js","tobago-bar.js","../../node_modules/popper.js/dist/esm/popper.js","tobago-dropdown.js","../../node_modules/vanillajs-datepicker/js/lib/utils.js","../../node_modules/vanillajs-datepicker/js/lib/date.js","../../node_modules/vanillajs-datepicker/js/lib/date-format.js","../../node_modules/vanillajs-datepicker/js/lib/event.js","../../node_modules/vanillajs-datepicker/js/i18n/base-locales.js","../../node_modules/ [...]
\ No newline at end of file
diff --git a/tobago-theme/tobago-theme-standard/npm/ts/tobago-range.ts b/tobago-theme/tobago-theme-standard/npm/ts/tobago-range.ts
index 0fcb7b8..f44561d 100644
--- a/tobago-theme/tobago-theme-standard/npm/ts/tobago-range.ts
+++ b/tobago-theme/tobago-theme-standard/npm/ts/tobago-range.ts
@@ -50,7 +50,7 @@ class Range extends HTMLElement {
     let range = this.range;
 
     // update value to display
-    this.tooltipBody.innerHTML = `${range.value}`; // todo: use html from lit-html
+    this.tooltipBody.textContent = range.value; // todo: use html from lit-html
 
     // init
     if (!this.popper) {