Closed shokmaster closed 5 years ago
Try to migrate this to ES6 classes and add the property annotation to the plugin (debugging purposes). The code seems to be easier to understand using classes:
annotation
class Thumbnail extends Filter { constructor(inputNode, options = {}) { options = Object.assign(options || {}, { persist: true, annotation: 'HTMLBars Minifier', }); super(inputNode, options); } // TODO... }
Originally posted by @josex2r in https://github.com/BBVAEngineering/ember-cli-htmlbars-minifier/pull/9
Try to migrate this to ES6 classes and add the property
annotation
to the plugin (debugging purposes). The code seems to be easier to understand using classes:Originally posted by @josex2r in https://github.com/BBVAEngineering/ember-cli-htmlbars-minifier/pull/9