This commit is contained in:
An Phan 2016-07-07 21:56:08 +08:00
parent 56045ef06c
commit 32294311c1
No known key found for this signature in database
GPG key ID: 05536BB4BCDC02A2
2 changed files with 6 additions and 1 deletions

View file

@ -59,6 +59,7 @@ export function loadArtistView(artist) {
/**
* Show the overlay.
*
* @param {String} message
* @param {String} type
* @param {Boolean} dismissable
@ -69,7 +70,6 @@ export function showOverlay(message = 'Just a little patience…', type = 'loadi
/**
* Hide the overlay.
* @return {[type]} [description]
*/
export function hideOverlay() {
event.emit('overlay:hide');

View file

@ -40,6 +40,11 @@ export function isClipboardSupported() {
return 'execCommand' in document;
};
/**
* A simple event bus.
*
* @type {Object}
*/
const event = {
bus: null,