Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If JSHint was integrated to the testbot all the patch would have been red for a while. Needs to be fixed.
Fixes the following:
core/misc/autocomplete.js: line 74, col 19, Possible strict violation.
core/modules/edit/js/views/FieldToolbarView.js: line 31, col 64, Missing semicolon.
the strict violation needs a jshint specific comment to fix, no other way around that one. It's a valid way to take care of this, see: https://github.com/jshint/jshint/issues/621
Comment | File | Size | Author |
---|---|---|---|
core-js-jshint-errors.patch | 1 KB | nod_ | |
Comments
Comment #2
jibrancore-js-jshint-errors.patch queued for re-testing. https://qa.drupal.org/pifr/test/699378
Comment #3
catchComment #4
webchickUm this is not critical. :)
Also, that's basically the equivalent of putting @ in front of a function name in PHP. Is that really the only way to solve this?
Comment #5
nod_unfortunately yes.
Once jshint drops the checks for "this" we'll be able to remove the comment. That or we need to refactor the whole autocomplete stuff.
Comment #6
webchickDarn. Ok then...
Committed and pushed to 8.x. Thanks!