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

fix typo in comment and reformat README.md #590

Merged
merged 1 commit into from
Jan 17, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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