mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Migrated to ESLint 9+.
This commit is contained in:
committed by
Sarah Boyce
parent
9a27c76021
commit
6345a6ff63
@@ -1,4 +1,4 @@
|
||||
/*global SelectBox, gettext, interpolate, quickElement, SelectFilter*/
|
||||
/*global SelectBox, gettext, ngettext, interpolate, quickElement, SelectFilter*/
|
||||
/*
|
||||
SelectFilter2 - Turns a multiple-select box into a filter interface.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/*global gettext, interpolate, ngettext*/
|
||||
/*global gettext, interpolate, ngettext, Actions*/
|
||||
'use strict';
|
||||
{
|
||||
function show(selector) {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/*global opener */
|
||||
'use strict';
|
||||
{
|
||||
const initData = JSON.parse(document.getElementById('django-admin-popup-response-constants').dataset.popupResponse);
|
||||
|
||||
@@ -54,7 +54,7 @@ class MapWidget {
|
||||
|
||||
// Altering using user-provided options
|
||||
for (const property in options) {
|
||||
if (options.hasOwnProperty(property)) {
|
||||
if (Object.hasOwn(options, property)) {
|
||||
this.options[property] = options[property];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user