1
0
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:
Kushagra Gour
2017-07-04 02:47:49 +05:30
parent 95585c6274
commit ca1f255a34
12 changed files with 1100 additions and 593 deletions

View File

@ -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
}
};
})();