JavaScript 1.6's for-each-in loops are deprecated; consider using ES6 for-of instead

Bug #1714982 reported by dino99
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell-extensions (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The extension 'native windows placement' need a light fix into the 'function disable()'

/.<email address hidden>/extension.js 462]: JavaScript 1.6's for-each-in loops are deprecated; consider using ES6 for-of instead

https://wiki.gnome.org/Projects/GnomeShell/Gjs_StyleGuide

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/For-each-in_loops_are_deprecated

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: gnome-shell-extensions 3.25.91-0ubuntu2
ProcVersionSignature: Ubuntu 4.12.0-13.14-generic 4.12.10
Uname: Linux 4.12.0-13-generic x86_64
ApportVersion: 2.20.7-0ubuntu1
Architecture: amd64
CurrentDesktop: GNOME
Date: Mon Sep 4 17:01:39 2017
EcryptfsInUse: Yes
PackageArchitecture: all
SourcePackage: gnome-shell-extensions
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
dino99 (9d9) wrote :
dino99 (9d9)
description: updated
Revision history for this message
Anders Kaseorg (andersk) wrote :

This seems to have been fixed at some point; there are no ‘for each…in’ loops in the current version.

Changed in gnome-shell-extensions (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.