Skip to content

Comments

Resolving bug in ORM with regards to plugin use#2

Open
tdball wants to merge 1 commit intodevelopfrom
plugin_const-fix
Open

Resolving bug in ORM with regards to plugin use#2
tdball wants to merge 1 commit intodevelopfrom
plugin_const-fix

Conversation

@tdball
Copy link

@tdball tdball commented Nov 8, 2018

During an ES6 conversion on ScoutGroup/fdc_common, I discovered a bug with how we use plugins, instead of using an instance being passed to the .use() method, we instantiate a new instance within the library. This used to work under coffeescript with the older version of JS it transpiled to, but no longer with the ES6 conversion.

I've left the old line, but removing new (as the code being passed to .use() didn't have a constructor)
resolved the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant