From 53e1b61f87e6400b3e095f6f280c02c1116fc9f9 Mon Sep 17 00:00:00 2001 From: Evan Morikawa Date: Mon, 2 May 2016 15:29:34 -0700 Subject: [PATCH] fix(composer): fix async composer plugin loading --- src/extension-registry.es6 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/extension-registry.es6 b/src/extension-registry.es6 index f35310ed6..b7dfbcccf 100644 --- a/src/extension-registry.es6 +++ b/src/extension-registry.es6 @@ -35,9 +35,7 @@ export class Registry { this._registry = new Map(); } - triggerDebounced() { - _.debounce(()=> this.trigger(), 1); - } + triggerDebounced = _.debounce(::this.trigger, 1); validateExtension(extension, method) { if (!extension || Array.isArray(extension) || !_.isObject(extension)) {