-
Notifications
You must be signed in to change notification settings - Fork 27.2k
zone.js: zone lost inside requireJS (AMD) module #38516
Copy link
Copy link
Closed
Labels
P2The issue is important to a large percentage of users, with a workaroundThe issue is important to a large percentage of users, with a workaroundarea: zonesIssues related to zone.jsIssues related to zone.jsregressionIndicates than the issue relates to something that worked in a previous versionIndicates than the issue relates to something that worked in a previous versionstate: confirmedtype: bug/fix
Milestone
Metadata
Metadata
Assignees
Labels
P2The issue is important to a large percentage of users, with a workaroundThe issue is important to a large percentage of users, with a workaroundarea: zonesIssues related to zone.jsIssues related to zone.jsregressionIndicates than the issue relates to something that worked in a previous versionIndicates than the issue relates to something that worked in a previous versionstate: confirmedtype: bug/fix
🐞 bug report
Affected Package
The issue is caused by package @angular/packages/zone.js
Is this a regression?
Yes, worked in 0.9.1
Description
When loading modules using requireJS, the zone is lost.
🔬 Minimal Reproduction
The following in index.html, which should also include zone.js
the entire contents of one.js, in the same folder of index.html
In 0.10.X, all three console.logs report the name of the zone as the
<root>, and not myone-zone.With 0.9.1, I see the following:
🌍 Your Environment
Angular Version: