Refs #31493 -- Changed IIFE to ES6 blocks.

This commit is contained in:
Jon Dufresne 2020-04-26 14:12:34 -07:00 committed by Carlton Gibson
parent 5d37cc703b
commit 7271c8def4
32 changed files with 77 additions and 90 deletions

View file

@ -1,5 +1,4 @@
/* global QUnit, DateTimeShortcuts */
/* eslint strict: 0 */
'use strict';
QUnit.module('admin.DateTimeShortcuts');

View file

@ -1,5 +1,4 @@
/* global QUnit, SelectBox */
/* eslint strict: 0 */
'use strict';
QUnit.module('admin.SelectBox');

View file

@ -1,5 +1,4 @@
/* global QUnit, SelectFilter */
/* eslint strict: 0 */
'use strict';
QUnit.module('admin.SelectFilter2');

View file

@ -1,5 +1,4 @@
/* global QUnit, URLify */
/* eslint strict: 0 */
'use strict';
QUnit.module('admin.URLify');

View file

@ -1,5 +1,4 @@
/* global QUnit */
/* eslint strict: 0 */
'use strict';
QUnit.module('admin.actions', {

View file

@ -1,5 +1,4 @@
/* global QUnit */
/* eslint strict: 0 */
'use strict';
QUnit.module('admin.core');

View file

@ -1,5 +1,4 @@
/* global QUnit */
/* eslint strict: 0 */
'use strict';
QUnit.module('admin.inlines: tabular formsets', {

View file

@ -1,5 +1,6 @@
(function(globals) {
'use strict';
'use strict';
{
const globals = this;
const django = globals.django;
django.pluralidx = function(count) { return (count === 1) ? 0 : 1; };
@ -86,5 +87,4 @@
globals.npgettext = django.npgettext;
globals.interpolate = django.interpolate;
globals.get_format = django.get_format;
}(this));
};