mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-31 15:28:19 -04:00
Switch to ghu and eslint.
This commit is contained in:
parent
5d0770ca36
commit
0c6143704a
67 changed files with 192 additions and 307 deletions
|
@ -1,18 +0,0 @@
|
|||
modulejs.define('view/notification', ['$', 'view/root'], function ($, root) {
|
||||
|
||||
var $el = $('<div id="notification"/>').hide().appendTo(root.$el);
|
||||
|
||||
function set(content) {
|
||||
|
||||
if (content) {
|
||||
$el.stop(true, true).html(content).fadeIn(400);
|
||||
} else {
|
||||
$el.stop(true, true).fadeOut(400);
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
$el: $el,
|
||||
set: set
|
||||
};
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue