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

Commit

Permalink
fix: fork the zone in first example (README)
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbox authored and vicb committed Apr 30, 2015
1 parent d907590 commit 7b6e8ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ You can run code within a zone with `zone.run`.
Tasks scheduled (with `setTimeout`, `setInterval`, or event listeners) stay within that zone.

```javascript
zone.run(function () {
zone.fork().run(function () {
zone.inTheZone = true;

setTimeout(function () {
Expand Down

0 comments on commit 7b6e8ed

Please sign in to comment.