Skip to content

zone is not defined in angular2@2.0.0-beta.0Β #6007

@prolink007

Description

@prolink007

Zone is not defined in the following files in angular2@2.0.0-beta.0.

angular2\es6\dev\src\core\zone\ng_zone.js
angular2\es6\prod\src\core\zone\ng_zone.js
angular2\src\core\zone\ng_zone.js
angular2\ts\src\core\zone\ng_zone.js
angular2\bundles\angular2-all.umd.dev.js
angular2\bundles\angular2-all.umd.js
angular2\bundles\angular2.dev.js
angular2\bundles\angular2.js
angular2\bundles\web_worker\ui.dev.js
angular2\bundles\web_worker\worker.dev.js

Changing the line of code from
StringMapWrapper.merge(Zone.longStackTraceZone, { onError: function (e) { ngZone._notifyOnError(this, e); } });
To
StringMapWrapper.merge(zone.longStackTraceZone, { onError: function (e) { ngZone._notifyOnError(this, e); } });
Fixes the issue. Notice the capitalization change. There is no Zone, but a parameter zone.

This is breaking builds. How long can we expect this to take to fix?

Link to pull request #5995

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions