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:
- put
globalsdirective @ top of file uses variable. - setup .jshintrc's
predef.
hope helps!
Comments
Post a Comment