Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work with Ember 3 in IE11 #135

Open
viccatoff opened this issue Jun 18, 2018 · 2 comments
Open

Doesn't work with Ember 3 in IE11 #135

viccatoff opened this issue Jun 18, 2018 · 2 comments

Comments

@viccatoff
Copy link

It shows an error:

jQuery.Deferred exception: Object.prototype.hasOwnProperty: 'this' is null or undefined TypeError: Object.prototype.hasOwnProperty: 'this' is null or undefined
at Da (http://maps.googleapis.com/maps/api/js?libraries=places:27:18)
at b.prototype.get (http://maps.googleapis.com/maps/api/js?libraries=places:108:231)`

And application stops to work.

Steps to reproduce:

  1. Create new ember 3 project
  2. Add ember-g-map
  3. ember serve
  4. open index page
  5. default ember page isn't show up and in dev console you will see this error

In ember 2 it works.

@papricek
Copy link

+1, happens to me as well...

@keanedawg
Copy link

keanedawg commented Jun 12, 2019

I believe this maybe an issue with polyfills. I believe this addon uses some sort of function not supported in IE11. We had a similar issue on one of our sites.

Add this setting to your ember-cli-build.js file.

'ember-cli-babel': {
  includePolyfill: true
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants