- Linting (ESLint): Replace innerHTML with textContent from old demo

- npm: Update devDeps (including core-js copy)
This commit is contained in:
Brett Zamir
2019-12-19 08:25:23 +08:00
parent a6f65cec0b
commit 3ac0d58af9
6 changed files with 94 additions and 150 deletions

View File

@@ -93,7 +93,7 @@ Slide.prototype = {
_makeCounter () {
if (!this._count || !this._node) { return; }
const c = doc.createElement('span');
c.innerHTML = this._count;
c.textContent = this._count;
c.className = 'counter';
this._node.append(c);
},