Skip to content

Internet Explorer JavaScript compatibility issue. #1

@jgreenemi

Description

@jgreenemi

When running the page in Internet Explorer version 11.2007.14393.0, there is an issue where values pulled from the JavaScript dictionary-like object for each resource in ml-assets.js fails with the following error:

SCRIPT1004: Expected ';'
ml-display.js (16,26)

This appears to be because IE does not support loop logic like for (var mlAsset of mlAssets){}. It does appear to support for (var mlAsset in mlAssets){}, but this is not used as is not compatible with Google Chrome. Given that Chrome browser adoption is greater than that of Internet Explorer, I'm not inclined to change this behaviour unless I can find an approach that satisfies both browsers, as well as Firefox and Opera.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions