Ver código fonte

v2.2.1

Signed-off-by: Jonathan <theflametrooper@gmail.com>
Jonathan 4 anos atrás
pai
commit
1005b29f59
5 arquivos alterados com 10 adições e 127 exclusões
  1. 1 1
      README.md
  2. 0 117
      dist/toasters.js
  3. 7 7
      example/index.js
  4. 1 1
      package-lock.json
  5. 1 1
      package.json

+ 1 - 1
README.md

@@ -25,7 +25,7 @@ import Toast from "toasters";
 
 new Toast({
   content: "Hello World",
-  persistant: true
+  persistent: true
 });
 ```
 

Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 117
dist/toasters.js


+ 7 - 7
example/index.js

@@ -1,7 +1,7 @@
 import Toast from "../dist/toasters.js";
 
 const TestNotification = new Toast({
-	content: "Hello World",
+	content: "Test asdhasdasd",
 	persistent: true,
 	interactable: false
 });
@@ -18,10 +18,10 @@ const TestNotification3 = new Toast({
 	interactable: true
 });
 
-// setTimeout(() => {
-// 	TestNotification.hide();
+setTimeout(() => {
+	TestNotification.hide();
 
-// 	setTimeout(() => {
-// 		TestNotification.show();
-// 	}, 2000);
-// }, 2000);
+	setTimeout(() => {
+		TestNotification.show();
+	}, 2000);
+}, 2000);

+ 1 - 1
package-lock.json

@@ -1,6 +1,6 @@
 {
   "name": "toasters",
-  "version": "2.2.0",
+  "version": "2.2.1",
   "lockfileVersion": 1,
   "requires": true,
   "dependencies": {

+ 1 - 1
package.json

@@ -24,5 +24,5 @@
     "build": "webpack --mode=production --progress --hide-modules",
     "dev": "webpack --mode=development --watch"
   },
-  "version": "2.2.0"
+  "version": "2.2.1"
 }

Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff