Comparing version 1.2.0 to 1.2.1
@@ -53,3 +53,5 @@ export default class Eripusisu { | ||
emptyTarget() { | ||
this.container.innerHTML = ""; | ||
while (this.container.firstChild) { | ||
this.container.removeChild(this.container.firstChild); | ||
} | ||
} | ||
@@ -56,0 +58,0 @@ revertToOriginalNodes() { |
@@ -66,3 +66,5 @@ (function (global, factory) { | ||
Eripusisu.prototype.emptyTarget = function () { | ||
this.container.innerHTML = ""; | ||
while (this.container.firstChild) { | ||
this.container.removeChild(this.container.firstChild); | ||
} | ||
}; | ||
@@ -69,0 +71,0 @@ Eripusisu.prototype.revertToOriginalNodes = function () { |
{ | ||
"name": "eripusisu", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Text truncation library", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/tsmd/eripusisu#readme", |
@@ -24,3 +24,3 @@ # Eripusisu | ||
```html | ||
<script src="https://unpkg.com/eripusisu@1.1.2/dist/eripusisu.umd.js"></script> | ||
<script src="https://unpkg.com/eripusisu@1.2.1/dist/eripusisu.umd.js"></script> | ||
``` | ||
@@ -27,0 +27,0 @@ |
35694
682