Commit Graph

7 Commits

Author SHA1 Message Date
tapan gujjar 2d67222472 Fixed #31522 -- Made admin's SelectBox preserve scroll position. 2020-07-01 16:31:38 +02:00
Jon Dufresne 7271c8def4 Refs #31493 -- Changed IIFE to ES6 blocks. 2020-04-29 10:22:41 +02:00
Jon Dufresne 5d37cc703b Fixed #31493 -- Replaced var with const and let keywords in JavaScript.
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.
2020-04-29 10:22:41 +02:00
Jon Dufresne 38e2fdf1b0
Bumped minimum ESLint version to 6.8.0. 2020-03-16 06:20:22 +01:00
Tim Graham 620dcdde6e Updated to QUnit 2.0.1. 2016-12-19 12:43:47 -05:00
Nik Nyby 722bf23518 Added linting for JavaScript tests. 2015-09-02 13:52:38 -04:00
Trey Hunner 2d0dead224 DEP 0003 -- Added JavaScript unit tests.
Setup QUnit, added tests, and measured test coverage.

Thanks to Nick Sanford for the initial tests.
2015-06-30 21:04:16 -04:00