Commit 045fab2
committed
Remove DEVELOPMENT flag since it changes Lexical behavior
In development mode, Lexical freezes the selection objects, including _cachedNodes. When your code tried to modify _cachedNodes, it threw:
TypeError: Cannot assign to read only property '_cachedNodes' of object '#<_NodeSelection>'
Related #507 (comment)
Also, always generate source maps1 parent d6d17e7 commit 045fab2
File tree
5 files changed
+3
-2
lines changed- app/assets/javascript
5 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11674 | 11674 | | |
11675 | 11675 | | |
11676 | 11676 | | |
| 11677 | + | |
Binary file not shown.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments