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

Commit 95ad315

Browse files
JiaLiPassionmhevery
authored andcommitted
fix(doc): typo in comment and reformat README.md (#590)
1 parent c00abdb commit 95ad315

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Diff for: README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ Implements _Zones_ for JavaScript, inspired by [Dart](https://www.dartlang.org/a
88
> If you're using zone.js via unpkg please provide a query param `?main=browser`
99
`https://unpkg.com/zone.js?main=browser`
1010
> If you're using the following library, make sure you import them first
11-
> 1. 'newrelic' as it patches global.Promise before zone,js does
12-
> 2. 'async-listener' as it patches global.setTimeout, global.setInterval before zone,js does
13-
> 3. 'continuation-local-storage' as it uses async-listener
11+
12+
> * 'newrelic' as it patches global.Promise before zone,js does
13+
> * 'async-listener' as it patches global.setTimeout, global.setInterval before zone,js does
14+
> * 'continuation-local-storage' as it uses async-listener
1415
1516
# NEW Zone.js POST-v0.6.0
1617

Diff for: lib/zone.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1460,7 +1460,7 @@ const Zone: ZoneType = (function(global: any) {
14601460
if (structuredStackTrace) {
14611461
for (let i = 0; i < structuredStackTrace.length; i++) {
14621462
const st = structuredStackTrace[i];
1463-
// remove the first function which name is value
1463+
// remove the first function which name is zoneCaptureStackTrace
14641464
if (st.getFunctionName() === 'zoneCaptureStackTrace') {
14651465
structuredStackTrace.splice(i, 1);
14661466
break;

0 commit comments

Comments
 (0)