mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Refs #31493 -- Changed IIFE to ES6 blocks.
This commit is contained in:
parent
5d37cc703b
commit
7271c8def4
32 changed files with 77 additions and 90 deletions
|
@ -1,5 +1,4 @@
|
|||
/* global QUnit, DateTimeShortcuts */
|
||||
/* eslint strict: 0 */
|
||||
'use strict';
|
||||
|
||||
QUnit.module('admin.DateTimeShortcuts');
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
/* global QUnit, SelectBox */
|
||||
/* eslint strict: 0 */
|
||||
'use strict';
|
||||
|
||||
QUnit.module('admin.SelectBox');
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
/* global QUnit, SelectFilter */
|
||||
/* eslint strict: 0 */
|
||||
'use strict';
|
||||
|
||||
QUnit.module('admin.SelectFilter2');
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
/* global QUnit, URLify */
|
||||
/* eslint strict: 0 */
|
||||
'use strict';
|
||||
|
||||
QUnit.module('admin.URLify');
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
/* global QUnit */
|
||||
/* eslint strict: 0 */
|
||||
'use strict';
|
||||
|
||||
QUnit.module('admin.actions', {
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
/* global QUnit */
|
||||
/* eslint strict: 0 */
|
||||
'use strict';
|
||||
|
||||
QUnit.module('admin.core');
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
/* global QUnit */
|
||||
/* eslint strict: 0 */
|
||||
'use strict';
|
||||
|
||||
QUnit.module('admin.inlines: tabular formsets', {
|
||||
|
|
|
@ -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));
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue