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

Commit

Permalink
fix(doc): typo in comment and reformat README.md (#590)
Browse files Browse the repository at this point in the history
  • Loading branch information
JiaLiPassion authored and mhevery committed Jan 17, 2017
1 parent c00abdb commit 95ad315
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ Implements _Zones_ for JavaScript, inspired by [Dart](https://www.dartlang.org/a
> If you're using zone.js via unpkg please provide a query param `?main=browser`
`https://unpkg.com/zone.js?main=browser`
> If you're using the following library, make sure you import them first
> 1. 'newrelic' as it patches global.Promise before zone,js does
> 2. 'async-listener' as it patches global.setTimeout, global.setInterval before zone,js does
> 3. 'continuation-local-storage' as it uses async-listener
> * 'newrelic' as it patches global.Promise before zone,js does
> * 'async-listener' as it patches global.setTimeout, global.setInterval before zone,js does
> * 'continuation-local-storage' as it uses async-listener
# NEW Zone.js POST-v0.6.0

Expand Down
2 changes: 1 addition & 1 deletion lib/zone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1460,7 +1460,7 @@ const Zone: ZoneType = (function(global: any) {
if (structuredStackTrace) {
for (let i = 0; i < structuredStackTrace.length; i++) {
const st = structuredStackTrace[i];
// remove the first function which name is value
// remove the first function which name is zoneCaptureStackTrace
if (st.getFunctionName() === 'zoneCaptureStackTrace') {
structuredStackTrace.splice(i, 1);
break;
Expand Down

0 comments on commit 95ad315

Please sign in to comment.