GithubHelp home page GithubHelp logo

Comments (7)

spencerwahl avatar spencerwahl commented on May 27, 2024

@alyec After solving the above error another one is thrown saying 'Promise is undefined'.
@AleksueiR said it might be coming from geoApi, is this the case?

from fgpv-vpgf.

AleksueiR avatar AleksueiR commented on May 27, 2024

To clarify - Array.from is not supported by IE10/11.

from fgpv-vpgf.

alyec avatar alyec commented on May 27, 2024

Yeah, no promise support in IE: http://caniuse.com/#feat=promises need to polyfill

from fgpv-vpgf.

AleksueiR avatar AleksueiR commented on May 27, 2024

Can we temporary polyfill this in until Aly is back? I want to see if the viewer works in IE at all.

from fgpv-vpgf.

spencerwahl avatar spencerwahl commented on May 27, 2024

Update on ie10 nonsense:

The browser complains about things in the following order:

  • Array.from
  • Promise
  • Symbol and module (this seems to be coming from proj4?)

There may be more problems after this is fixed, but the app partially loads after fixing Array.from and Promise.

Polyfills worked fine up until the module problem; if I understood @AleksueiR properly module (non-es6) is just not a thing in IE.

Here are the polyfills I tried using:

https://www.npmjs.com/package/array.from

https://github.com/jakearchibald/es6-promise

https://github.com/paulmillr/es6-shim/

from fgpv-vpgf.

AleksueiR avatar AleksueiR commented on May 27, 2024

... here's some good news: http://www.theverge.com/2016/1/6/10722426/internet-explorer-8-9-10-dying
Given this news, I think we can safely build R2's viewer with IE11+ in mind, and blame the IT departments for their insecure practice of running unsupported browsers.
-- Dan Bowerman January 6, 2016 8:12 AM

from fgpv-vpgf.

AleksueiR avatar AleksueiR commented on May 27, 2024

All hail the King Muffin!

from fgpv-vpgf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.