The core/misc directory is a mess. Lots of random scripts, images, stylesheets, etc. Completely unorganized.
- Move the assets that are defined in system_library_info() that are in core/misc to core/modules/system/assets.
- since there are some path changes there
- Make a new patch for this issue
- Review patch
- Commit patch
- Open the box
User interface changes
No UI changes.
No API changes since it's handled by hook_library_info().
Original report by _nod
Reusable scripts are currently in
/core/misc next to random images and other things.
I'm proposing the following structure in
src/lib/reusable components like tabledrag
dist/same structure as
src/with minified/uglyfied files
vendorthird party scripts used in core (like jquery.forms.js, jquery.ba-bbq.js)
this need some more thought, I just want to put it out there. Contrib should also follow the convention.
|PASSED: [[SimpleTest]]: [MySQL] 41,980 pass(es).|
|FAILED: [[SimpleTest]]: [MySQL] 41,897 pass(es), 1 fail(s), and 0 exception(s).|
|PASSED: [[SimpleTest]]: [MySQL] 40,694 pass(es).|