Commit c357b23
committed
feat(core registry): Implement sort_early Pattern option.
When scanning a document for patterns, resort patterns and set those with a
sort_early property to the beginning of the initialization chain.
NOTE: Only use when necessary. It's not guaranteed that a pattern with
sort_early is set before another pattern with sort_early. Patterns which
are registered later will have a higher chance to be sorted before
others. Last come, first serve.1 parent 61953d8 commit c357b23
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
136 | 146 | | |
137 | 147 | | |
138 | 148 | | |
139 | 149 | | |
140 | 150 | | |
141 | 151 | | |
142 | 152 | | |
| 153 | + | |
143 | 154 | | |
144 | 155 | | |
145 | 156 | | |
| |||
0 commit comments