1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-13 01:56:24 +02:00

remove old files

This commit is contained in:
Kushagra Gour
2018-06-15 23:22:23 +05:30
parent dcd1cd80d4
commit f5d2b5d1a7
27 changed files with 0 additions and 10387 deletions

View File

@ -1,21 +0,0 @@
(function() {
const noticationContainerEL = $('#js-alerts-container');
var hideTimeout;
function addNotification(msg) {
// var n = document.createElement('div');
// div.textContent = msg;
// noticationContainerEL.appendChild(n);
noticationContainerEL.textContent = msg;
noticationContainerEL.classList.add('is-active');
clearTimeout(hideTimeout);
hideTimeout = setTimeout(function() {
noticationContainerEL.classList.remove('is-active');
}, 2000);
}
window.alertsService = {
add: addNotification
};
})();