-
Notifications
You must be signed in to change notification settings - Fork 138
Closed
Labels
Milestone
Description
The common_1.extend function errors in Internet Explorer 11. I am using the import 'core-js/es6/object' polyfill, core-js 2.4.1 and angular cli.
Error
TypeError: Object doesn't support this action
at BaseLocationServices.prototype.url (http://localhost:4200/vendor.bundle.js:15051:17)
var common_1 = __webpack_require__("../../../../@uirouter/core/lib/common/common.js");
BaseLocationServices.prototype.url = function (url, replace) {
if (replace === void 0) {
replace = true;
}
if (predicates_1.isDefined(url) && url !== this._get()) {
this._set(null, null, url, replace);
if (this.fireAfterUpdate) {
var evt_1 = common_1.extend(new Event("locationchange"), { url: url }); //Errors Here
this._listeners.forEach(function (cb) {
return cb(evt_1);
});
}
}
return utils_1.buildUrl(this);
};