Closed (fixed)
Project:
Drupal core
Version:
8.9.x-dev
Component:
javascript
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
17 Dec 2019 at 18:50 UTC
Updated:
3 Jan 2020 at 12:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
bnjmnmComment #3
bnjmnmComment #4
tedbowThis looks good. Did some manual testing with toolbar, ckeditor and quickedit on an image field which all use this library.
Comment #5
lauriiiWe should probably remove the newly added newline from the end.
Why has this file been renamed?
Comment #6
longwave#5.1 This is exactly how the file ships from upstream, I don't think we should be modifying it.I was wrong, upstream doesn't have the newline, so we should fix this#5.2 This was done upstream in the 1.9.0 release; I think using the .js.map extension means the file itself doesn't need to specify sourceMappingURL, it can be inferred just by adding .map to the URL.
Comment #7
longwaveComment #8
longwaveComment #9
tedbow@longwave thanks for the patch.
Comment #12
lauriiiI checked the md5 checksums and it seemed like the map file didn't match because of an extra newline at the end of the file. I copied the file from the underscore library again.
Committed 88bdfdd and pushed to 9.0.x and 8.9.x. Thanks!