ember.js - Ember js warning with three.js -


what correct way use ember js three.js. have tried using cdn editing index.html file works fine warning in ember-cli three not being defined. installing bower , using app.import gave me similar warnings.

the app works fine wanted know best way import in case three.js ember application without warnings.

that jshint warning because isn't aware of global three variable you're trying access. have 2 ways fix it:

  1. put globals directive @ top of file uses variable.
  2. setup .jshintrc's predef.

hope helps!


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -