Skip to content

IE8 support #235

Closed
Closed
@sergproua

Description

@sergproua

Would be nice to have IE8 support while AngularJS 1.X is supported. I was able to get it to work on IE8 with AngulaJS 1.x by replacing the following, please advise if I should submit a pull request

  1. delete - reserved word

    var expectedRecordTypes = {
    add: true,
    update: true,
    'delete': true // wrapped
    };

  2. catch - reserved word

.catch(...) in promise calls should be replaced with 'catch'

  1. class - reserved word

.class should be replaced with ['class']

  1. Object.create() does not exist but seems to work with https://github.com/es-shims/es5-shim. As an example of possible replacement
    IllegalArgumentError.prototype = Object.create(Error.prototype);
    Can be replaced with:
    IllegalArgumentError.prototype = new Error();

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions