1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-17 12:01:13 +02:00

eslint fixes

This commit is contained in:
Kushagra Gour
2018-11-15 19:41:03 +05:30
parent fcc2ac672c
commit 17850a15a4
3 changed files with 25 additions and 24 deletions

View File

@@ -13,7 +13,7 @@ export const commandPaletteService = {
publish(eventName, ...args) {
const callbacks = this.subscriptions[eventName] || [];
callbacks.forEach(callback => {
callback.apply(null, args);
callback(...args);
});
}
};