forked from MapComplete/MapComplete
Remove obsolete 'hasOwnProperty'-check
This commit is contained in:
parent
7eaccea1f0
commit
308def0278
1 changed files with 1 additions and 3 deletions
|
@ -62,9 +62,7 @@ export default class ValidationUtils {
|
|||
}
|
||||
|
||||
for (const key in translation) {
|
||||
if (!translation.hasOwnProperty(key)) {
|
||||
continue
|
||||
}
|
||||
|
||||
|
||||
const template = translation[key]
|
||||
const parts = SpecialVisualizations.constructSpecification(template)
|
||||
|
|
Loading…
Reference in a new issue