Closed sis0k0 closed 6 years ago
NativeScript has a fake global 'document' object, which doesn't have a 'location' property. This PR introduces a check that the 'location' property is defined before retrieving it and allows the package to be used with NativeScript.
related to https://github.com/angular/angular/issues/22093
Fixed in Angular 6.1-beta.3.
NativeScript has a fake global 'document' object, which doesn't have a 'location' property. This PR introduces a check that the 'location' property is defined before retrieving it and allows the package to be used with NativeScript.
related to https://github.com/angular/angular/issues/22093