Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Does not seem to be browserify compatible #19

Closed
pedroteixeira opened this issue May 28, 2014 · 0 comments
Closed

Does not seem to be browserify compatible #19

pedroteixeira opened this issue May 28, 2014 · 0 comments

Comments

@pedroteixeira
Copy link

Even if I try to:

window.zone = require('zone.js');

I get zone is not defined because the function Zone.patchSetClearFn assumes window.zone exists (i.e. in line 133).

Perhaps Zone.init should just installs on window.zone independently of module.exports, but export the created instance as well.

Any thoughts?

@pedroteixeira pedroteixeira changed the title Does not seem browserify compatible Does not seem to be browserify compatible May 28, 2014
btford added a commit that referenced this issue Jun 4, 2014
unframework pushed a commit to unframework/zone.js that referenced this issue Apr 8, 2015
@btford btford closed this as completed in 7b4fdde Apr 10, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant