All the JS in inline_entity_form\js\inline_entity_form.js is between block comments, and thus is not doing anything at all.
It looks like it was a 1-to-1 port from D7 from D7 => D8, afterwards got the block comments and was never deleted.
I say: Sink it!
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 3135207-3.patch | 1.21 KB | spokje |
Comments
Comment #2
spokjeComment #3
spokjePatch to remove
inline_entity_form\js\inline_entity_form.jsattached.Comment #4
spokjeComment #5
spokjeComment #6
spokjeComment #7
geek-merlinThanks a lot for raising this ant the other issues. It's a great contribution to make that messy and convoluted codebase more maintainable.
Code looks good, all dead code. Also found one usage of the library and removed that on commit.
Comment #8
geek-merlin@Spokje: It looks to me that this applies the commerce-product.css and its library definition too. A grep for "commerce" or "base" shows no usage. Can you cross-check that?
Comment #9
spokje@geek-merlin: Ah, I actually never look that deep into
commerce-product.css...Now that I did: Dead (code) as a Dodo (code)...
Erm...
Yeah, not used anywhere I can see. And again: an exact copy of the D7-version: commerce-product.css
I think (since commerce-product.css is alphabetically the first one) this one was added to the library file as a test to see how things worked in D8 and forgotten afterwards, with the 2 other CSS-files never even making it to inclusion in the library file.
Kill, Fire, etc :)
Comment #10
geek-merlinThanks! Removed them too.