Commit Graph

7 Commits

Author SHA1 Message Date
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
Claude Paroz 2ebfda38e6 Fixed #25004 -- Updated OpenLayers-based widget to OpenLayers 3
Thanks Tim Graham for the review.
2017-01-02 19:45:52 +01:00
Tim Graham 620dcdde6e Updated to QUnit 2.0.1. 2016-12-19 12:43:47 -05:00
Claude Paroz f530b4fdfc Fixed #26972 -- Fixed is_collection definition in MapWidget initialization 2016-07-31 20:38:29 +02:00
Claude Paroz 1e8d48252b Added basic JS tests for OLMapWidget.js
Thanks Trey Hunner for cleaning the initial patch and Tim Graham for
the review.
2015-10-07 08:59:32 +02:00