Closed Hypercubed closed 9 years ago
Currently plugins are constructor functions (usually inherited from curran/model). The new keyword is required by plugins that have been transpiled using babel.
Yes, looks good. Enables use of classes, and does not impact existing plugins where new is optional.
new
Currently plugins are constructor functions (usually inherited from curran/model). The new keyword is required by plugins that have been transpiled using babel.