samedi 20 août 2016

Avoid error

Every time that I install a bower module for my Ember.js application, when I added them inside my ember-cli-build.jsI can use it inside components, controllers, services, etc. But JSHint give me an error like following:

'RRule' is not defined.

or

'Stream' is not defined.

How can I void them?

This is my imports in ember-cli-build.js:

  app.import('bower_components/rrule/lib/rrule.js');
  app.import('bower_components/rrule/lib/nlp.js');
  app.import('bower_components/streamjs/stream.js');




Aucun commentaire:

Enregistrer un commentaire