Last active
August 29, 2015 14:14
-
-
Save poteto/79c14ed182f14ef7044a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
addMessage(message, type='info', timeout=get(this, 'defaultTimeout')) { | |
this._addToQueue(message, type, timeout); | |
}, | |
clearMessages() { | |
let flashes = get(this, 'queue'); | |
flashes.clear(); | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment