Add asserts folder

Add @command decorator
This commit is contained in:
RainLoop Team 2016-09-03 02:19:37 +03:00
parent a60ffc06e1
commit 1526130bfc
44 changed files with 300 additions and 264 deletions

View file

@ -46,15 +46,15 @@ class AbstractSystemDropDownUserView extends AbstractViewNext
this.addAccountClick = _.bind(this.addAccountClick, this);
Events.sub('audio.stop', () => AppStore.currentAudio(''));
Events.sub('audio.start', (sName) => AppStore.currentAudio(sName));
Events.sub('audio.start', (name) => AppStore.currentAudio(name));
}
stopPlay() {
Events.pub('audio.api.stop');
}
accountClick(oAccount, oEvent) {
if (oAccount && oEvent && !isUnd(oEvent.which) && 1 === oEvent.which)
accountClick(account, event) {
if (account && event && !isUnd(event.which) && 1 === event.which)
{
AccountStore.accounts.loading(true);
_.delay(() => AccountStore.accounts.loading(false), Magics.Time1s);