Skip to content

Commit 09d6d51

Browse files
committed
Feedback from emscripten-core#21406. NFC
1 parent 6797625 commit 09d6d51

15 files changed

+18
-15
lines changed

src/library_fs.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,9 @@ FS.staticInit();` +
101101
constructor() {
102102
this.shared = {};
103103
#if USE_CLOSURE_COMPILER
104+
// Closure compiler requires us to declare all properties in the
105+
// constructor.
104106
this.node = null;
105-
this.flags = 0;
106107
#endif
107108
}
108109
get object() {
@@ -1652,6 +1653,8 @@ FS.staticInit();` +
16521653
this.lengthKnown = false;
16531654
this.chunks = []; // Loaded chunks. Index is the chunk number
16541655
#if USE_CLOSURE_COMPILER
1656+
// Closure compiler requires us to declare all properties in the
1657+
// constructor.
16551658
this.getter = undefined;
16561659
this._length = 0;
16571660
this._chunkSize = 0;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9887
1+
9883
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
24323
1+
24310
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9870
1+
9866
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
24291
1+
24278
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
10971
1+
10968
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
28195
1+
28182
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9854
1+
9850
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
24217
1+
24204
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
10982
1+
10979
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
28196
1+
28183
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9887
1+
9883
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
24323
1+
24310
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7843
1+
7840
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
19352
1+
19339

0 commit comments

Comments
 (0)