Issuing a statement:
bower install dygraphs --save
And than adding reference to dygraphs:
app.import('vendor/dygraphs/src/dygraph.js')
Causes an error:
Uncaught SyntaxError: Unexpected identifier
on line:
import DygraphLayout from './dygraph-layout';
And:
Uncaught ReferenceError: define is not defined at ember-adater-file.js:1
What can be the cause of this and how to fix it?
Aucun commentaire:
Enregistrer un commentaire