ember-code-snippet icon indicating copy to clipboard operation
ember-code-snippet copied to clipboard

Problem when importing highlight.js library

Open Gorzas opened this issue 6 years ago • 0 comments

I'm using ember-code-snippet with the library ember-cli-addon-docs and I can't use the component code-snippet. It fails in this line of code-snippet component with the Error TypeError: this.callback.apply is not a function. The Error is thrown from loader.js. I'm using the latest versions of Ember (3.10), ember-cli-addon-docs (0.6.12), ember-code-snippet (2.4.0) and loader.js (4.7.0). Does anybody has any clue about what's happening? Is somebody having the same problem?

Thanks!

Gorzas avatar Jun 11 '19 15:06 Gorzas