Skip to content
This repository was archived by the owner on Oct 5, 2022. It is now read-only.

Commit 3c5838c

Browse files
committed
More arrow funcs
1 parent 327c514 commit 3c5838c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/macOSNotif.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -575,16 +575,16 @@ window.macOSNotifThemes = Object.assign({}, __maOSNotifJSThemes);
575575

576576
// Allow setting & getting of FadeThreshold
577577
Object.defineProperty(window, "macOSNotifFadeThreshold", {
578-
get: function () {
578+
get: () => {
579579
return __macOSNotifJSFadeThreshold;
580580
},
581-
set: function (x) {
581+
set: x => {
582582
__macOSNotifJSFadeThreshold = x;
583583
},
584584
});
585585

586586
// Allow access to create new notif
587-
window.macOSNotif = function macOSNotif(options) {
587+
window.macOSNotif = options => {
588588
// A quick method for generating a full instance of macOSNotifJS and running it
589589
const thisNotif = new macOSNotifJS(options);
590590
thisNotif.run();

0 commit comments

Comments
 (0)