Skip to content

Does not work with Internet Explorer #355

Closed

Description

@wojciechczerniak

Description

Since the update to gpu.js v2 HyperFormule does not work in Internet Explorer, UC Browser and other browsers that to not support some of the ES6 features.

Setting gpuMode to cpu won't help here, as the ES6 code can't be parsed correctly by the mentioned browsers and will not be executed.

gpu.js v2 has a dependency gl-wiretap that is written in ES6 and does not have ES5 build, neither the gpu.js transpile the code to ES5. The problematic features include optional parameters: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Default_parameters, template literals: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals, Proxy: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy, let and const keywords.

gl-wiretap in its ES6 form is included even in gpu-browser.js build: https://github.com/gpujs/gpu.js/blob/develop/dist/gpu-browser-core.js#L17

Related issue: #330

Activity

  1. added
    Bug
    on May 12, 2020
  2. added this to the May 2020 milestone on May 12, 2020
  3. added
    Verified
    on Jun 23, 2020
  4. wojciechczerniak commented on Feb 1, 2021

    @wojciechczerniak
    ContributorAuthor

    Done in #595 and #598

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

BugVerified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions