Comparing version 1.0.7 to 1.0.8
{ | ||
"name": "toast-me", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "Creates toast messages", | ||
@@ -5,0 +5,0 @@ "main": "lib/toast-me.min.js", |
@@ -23,3 +23,3 @@ // @flow | ||
) { | ||
ToastMe.removeAll(); | ||
ToastMeClass.removeAll(); | ||
@@ -32,3 +32,3 @@ const options = typeof receivedOptions === 'string' | ||
this.content = content; | ||
this.container = ToastMe.getContainer(); | ||
this.container = ToastMeClass.getContainer(); | ||
this.domNode = this.createToastNode(action); | ||
@@ -103,3 +103,3 @@ this.container.appendChild(this.domNode); | ||
static removeAll() { | ||
const node = ToastMe.getContainer(); | ||
const node = ToastMeClass.getContainer(); | ||
// eslint-disable-next-line prefer-template | ||
@@ -106,0 +106,0 @@ const closeButtons = node.querySelectorAll('.' + styles.close); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
433639