Commit cbcbe05
committed
refactor: Remove AlchemyHTMLElement base class
No component extends it anymore after moving every custom element to
plain HTMLElement and connectedCallback. The base class encouraged the
very constructor-time DOM work that violated the Web Components spec
and broke cloneNode (SortableJS drag and drop). Dropping it removes
the tempt to repeat that pattern and the documentation now points new
components at extending HTMLElement directly.1 parent 0df64b0 commit cbcbe05
3 files changed
Lines changed: 1 addition & 305 deletions
File tree
- app/javascript/alchemy_admin/components
- spec/javascript/alchemy_admin/components
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| |||
Lines changed: 0 additions & 129 deletions
This file was deleted.
Lines changed: 0 additions & 175 deletions
This file was deleted.
0 commit comments