Skip to content

Commit d3d9e9e

Browse files
committed
updates
1 parent ead8f2d commit d3d9e9e

File tree

6 files changed

+551
-12
lines changed

6 files changed

+551
-12
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
| [objects](./examples/objects.html) | objects |
2121
| [promises](./examples/promises.html) | |
2222
| [iframe](./examples/iframe.html) | pausing in an iframe |
23+
| [500 sources](./examples/500-sources.html) | A page with 500 bogus sources |
2324
| [large-files](./examples/large-files.html) | |
2425
| [localStorage Keys](./examples/localstorage-keys.html) | |
2526
| [Optimized Away Variable](./examples/optimized-away.html) | |

examples/500-sources.html

Lines changed: 507 additions & 0 deletions
Large diffs are not rendered by default.

examples/async/async.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
function foo() {
2+
return Promise.resolve();
3+
}
4+
5+
function simple() {
6+
foo.then(
7+
foo().then(
8+
foo().then(() => {
9+
console.log('hi');
10+
})
11+
)
12+
);
13+
}

examples/async/index.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<html>
2+
<head>
3+
<title>Async</title>
4+
<script
5+
</head>
6+
7+
<body>
8+
</html>

examples/column-breakpoints.js

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,31 @@
11
function ternary() {
2-
const x = a() ? b() ? c() : d() : e() ;
2+
const x = a() ? b() ? c() : d() : e();
33
}
44

55
function promises() {
6-
p().then(r => p())
7-
.then(r => p())
8-
.then(r => {
9-
return p()
10-
})
6+
debugger;
7+
2 + 2;
8+
p().then(r => p()).then(r => p()).then(r => {
9+
return p();
10+
});
1111
}
1212

1313
function p() {
1414
return Promise.resolve(2);
1515
}
1616

17-
function a() { console.log('a') }
18-
function b() { console.log('b') }
19-
function c() { console.log('c') }
20-
function d() { console.log('d') }
21-
function e() { console.log('e') }
17+
function a() {
18+
console.log('a');
19+
}
20+
function b() {
21+
console.log('b');
22+
}
23+
function c() {
24+
console.log('c');
25+
}
26+
function d() {
27+
console.log('d');
28+
}
29+
function e() {
30+
console.log('e');
31+
}

examples/wasm/fib/fib.wasm.map

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"version":3,"sources":["fib.c"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA;;;;;;;;AAJA;;;;;;;AADA;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA"}
1+
w{"version":3,"sources":["fib.c"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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