| Age | Commit message (Collapse) | Author |
|
|
|
The eslint configuration and the admin script compress.py have been
updated for ES6.
The unused fallback of globals.django in jquery.init.js was removed. It
is always included before jsi18n-mocks.test.js and it always sets the
global value.
|
|
The script previously used the PyPI package closure, which is slightly
out of date and not maintained by Google.
The JavaScript contribution docs and the compress.py script now runs the
google-closure-compiler package in the recommended way. Google's
documentation on usage and installation can be found at:
https://github.com/google/closure-compiler-npm/tree/master/packages/google-closure-compiler#usage
This also makes the usage simpler as the package now runs through npm's
npx utility, which will automatically install google-closure-compiler to
a per-user cache.
|
|
|
|
The Python docs recommend passing a sequence to subprocess.run() when
possible. Doing so allows for automatic escaping and quoting of
arguments.
https://docs.python.org/3/library/subprocess.html#frequently-used-arguments
> args is required for all calls and should be a string, or a sequence
> of program arguments. Providing a sequence of arguments is generally
> preferred, as it allows the module to take care of any required
> escaping and quoting of arguments (e.g. to permit spaces in file
> names).
Also removed `shell=True` where unnecessary.
|
|
|
|
find() is only called on jQuery objects, so the polyfill is necessary.
|
|
|
|
|
|
This reverts commit 4cffa9a1ffb37d4de7e99a851a9ed87b3c02d229.
|
|
|
|
|
|
|
|
|
|
refs #23395.
|
|
Refs #19973.
|
|
|
|
to camilonova, Russell Keith-Magee, Aymeric Augustin and Ramiro Morales for the feedback.
|