diff options
author | Christian <git-developer@users.noreply.github.com> | 2020-11-25 05:56:11 +0100 |
---|---|---|
committer | Christian <git-developer@users.noreply.github.com> | 2020-11-25 05:56:11 +0100 |
commit | 36dd0d86226286ffbfc1e394b553fd59705c15ed (patch) | |
tree | 7b9e06b26630ae8b45408b3d7e2cc872c6e81fec | |
parent | 27270b5d00fca24c1e4b89794098d2df2a858ff3 (diff) |
fix(BCR2000): handle 'this' to called function
-rw-r--r-- | res/controllers/midi-components-extension.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/controllers/midi-components-extension.js b/res/controllers/midi-components-extension.js index e19bf75323..780431491f 100644 --- a/res/controllers/midi-components-extension.js +++ b/res/controllers/midi-components-extension.js @@ -848,7 +848,7 @@ ].forEach(function(context) { if (Array.isArray(context.definitions)) { context.definitions.forEach(function(definition) { - var implementation = context.factory(definition); + var implementation = context.factory.call(this, definition); target.push(implementation); this.registerComponents(layerManager, definition.components, implementation); }, this); |