Skip to content

Commit

Permalink
released v2.0.10 #8
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Sep 20, 2018
1 parent 7b1dddf commit ff61af6
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 8 deletions.
6 changes: 5 additions & 1 deletion dist/notify.common.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* @wcjiang/notify v2.0.9
* @wcjiang/notify v2.0.10
* JS achieve the browser title flashing , scrolling, voice prompts , chrome notice.
*
* Copyright (c) 2018 kenny wang
Expand Down Expand Up @@ -215,6 +215,7 @@ Notify.prototype = {
n.onerror = function () {
json.onerror && typeof json.onerror === 'function' && json.onerror(n);
};
this.Notifiy = n;
}
return this;
},
Expand Down Expand Up @@ -288,6 +289,9 @@ Notify.prototype = {
}
return this;
},
close: function close() {
if (this.Notifiy) this.Notifiy.close();
},

// 清除Icon
faviconClear: function faviconClear() {
Expand Down
4 changes: 2 additions & 2 deletions dist/notify.common.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion dist/notify.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* @wcjiang/notify v2.0.9
* @wcjiang/notify v2.0.10
* JS achieve the browser title flashing , scrolling, voice prompts , chrome notice.
*
* Copyright (c) 2018 kenny wang
Expand Down Expand Up @@ -213,6 +213,7 @@ Notify.prototype = {
n.onerror = function () {
json.onerror && typeof json.onerror === 'function' && json.onerror(n);
};
this.Notifiy = n;
}
return this;
},
Expand Down Expand Up @@ -286,6 +287,9 @@ Notify.prototype = {
}
return this;
},
close: function close() {
if (this.Notifiy) this.Notifiy.close();
},

// 清除Icon
faviconClear: function faviconClear() {
Expand Down
6 changes: 5 additions & 1 deletion dist/notify.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* @wcjiang/notify v2.0.9
* @wcjiang/notify v2.0.10
* JS achieve the browser title flashing , scrolling, voice prompts , chrome notice.
*
* Copyright (c) 2018 kenny wang
Expand Down Expand Up @@ -219,6 +219,7 @@
n.onerror = function () {
json.onerror && typeof json.onerror === 'function' && json.onerror(n);
};
this.Notifiy = n;
}
return this;
},
Expand Down Expand Up @@ -292,6 +293,9 @@
}
return this;
},
close: function close() {
if (this.Notifiy) this.Notifiy.close();
},

// 清除Icon
faviconClear: function faviconClear() {
Expand Down
Loading

0 comments on commit ff61af6

Please sign in to comment.