mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-13 01:56:24 +02:00
prettify all src js files. Remove space rules from eslint
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
(function () {
|
||||
|
||||
(function() {
|
||||
var noticationContainerEL = $('#js-alerts-container');
|
||||
|
||||
function addNotification(msg) {
|
||||
@ -9,12 +8,12 @@
|
||||
noticationContainerEL.textContent = msg;
|
||||
noticationContainerEL.classList.add('is-active');
|
||||
|
||||
setTimeout(function () {
|
||||
setTimeout(function() {
|
||||
noticationContainerEL.classList.remove('is-active');
|
||||
}, 2000)
|
||||
}, 2000);
|
||||
}
|
||||
|
||||
window.alertsService = {
|
||||
add: addNotification
|
||||
}
|
||||
};
|
||||
})();
|
||||
|
Reference in New Issue
Block a user