1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-13 18:16:19 +02:00

add missing files.

This commit is contained in:
Kushagra Gour
2016-11-14 14:49:31 +05:30
parent 8a82a24c7d
commit ba107760ed
2 changed files with 21 additions and 0 deletions

1
src/lib/escodegen.browser.min.js vendored Normal file

File diff suppressed because one or more lines are too long

20
src/notifications.js Normal file
View File

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