I'm trying to use Babylon.js in an Ember app and am getting errors related to the Ember extending the Array prototype (something Babylon does too) conflicting. Specific error in Babylon:
Uncaught TypeError: renderingGroup.prepare is not a function
I created an Ember CLI addon with Babylon.js as a dependency (with prototype extensions disabled) and it works when testing within the addon's dummy app.
Once I import the addon into my existing app (with prototype extensions enabled), it once again breaks (serving up the same error). Can the addon be isolated with its dependencies (maintaining prototype extensions disabled) once installed into an app the has prototype extensions enabled? Are there any other possible solutions to getting Bablyon.js working in Ember? Thanks.
Aucun commentaire:
Enregistrer un commentaire