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.
Hi,
I've written a patch that removes the varying constant and replaces it with a get function. This doesn't change the functionality of this module but does make it easier to read and in line with best practice.
Cheers,
Rim
Comment | File | Size | Author |
---|---|---|---|
jquery_no_variable_constant.patch | 1.24 KB | rimian |
Comments
Comment #1
sunWhy?
Comment #2
rimian CreditAttribution: rimian commentedBecause a constant is supposed to be a constant! If it's the result of an expression then it's variable.
Comment #3
nod_Version for Drupal 6 is not supported anymore, closing.