The core/misc directory is a mess. Lots of random scripts, images, stylesheets, etc. Completely unorganized.
- Move the assets that are defined in core.libraries.yml that are in core/misc/js to core/assets/js (see #57-#63).
- 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]]: [PHP 5.4 MySQL] 90,453 pass(es). View
PASSED: [[SimpleTest]]: [PHP 5.4 MySQL] 84,132 pass(es). View
PASSED: [[SimpleTest]]: [PHP 5.4 MySQL] 84,139 pass(es). View
FAILED: [[SimpleTest]]: [PHP 5.4 MySQL] Drupal installation failed. View