Embedding Ember with another page that has an old version of jQuery?


#1

I’m wondering if anyone’s actually ran in to this issue. You want to embed an ember application into another page which already has an instance of an older version of jQuery. Is there a way to handle this or is this already handled via Ember?


#2

I usually access jQuery using Ember.$ so it’s possible that there won’t be an issue. That said, I wouldn’t be comfortable running jQuery “twice” in the long term as there will almost certainly be issues and probably hard to debug ones at that.

I’d suggest migrating the site to a more recent version first and then using the same version in both places, even that might cause issues but you should be okay.

Good luck!