iOS 7 Safari is displaying the error Can't find variable: Promise
:
new Promise(function(resolve, reject) {
.
.
.
While other browsers do not encounter this issue, I came across a similar question where Robert suggested using new Ember.RSVP.Promise
instead of new Promise
.
The problem I'm facing is that I don't use jQuery, causing all browsers to throw an error that Ember
is not defined. I discovered that adding Ember.min.js
resolves the issue, but it adds an additional 129.96 KB
to my page, which is not ideal for my project.
I simply want to resolve the issue for iOS7, and I would greatly appreciate if someone who knows how could guide us on this.