Closed
Description
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
-
delete - reserved word
var expectedRecordTypes = {
add: true,
update: true,
'delete': true // wrapped
}; -
catch - reserved word
.catch(...) in promise calls should be replaced with 'catch'
- class - reserved word
.class should be replaced with ['class']
- 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();