Commit ad52571
committed
In STRICT mode, only define
This matches the behaviour of MINIMAL_RUNTIME, and supports the practice
of not including asserts in release builds.
Also remove the closure externs for `assert` so that closure can
correctly error out end `assert` is not defined.
Helps with emscripten-core#20504assert when ASSERTIONS is set1 parent c188a2c commit ad52571
3 files changed
Lines changed: 6 additions & 142 deletions
File tree
- src
- closure-externs
- third_party/closure-compiler/node-externs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | 60 | | |
66 | 61 | | |
67 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
78 | 83 | | |
79 | 84 | | |
80 | 85 | | |
| |||
88 | 93 | | |
89 | 94 | | |
90 | 95 | | |
| 96 | + | |
91 | 97 | | |
92 | 98 | | |
93 | 99 | | |
| |||
This file was deleted.
0 commit comments