[gnome-shell] tests: Fix JS warning
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] tests: Fix JS warning
- Date: Wed, 4 Oct 2017 16:27:50 +0000 (UTC)
commit d439456048ac9f9a73ff66c0b214e661b98964db
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Oct 4 18:10:35 2017 +0200
tests: Fix JS warning
tests/unit/jsParse.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/unit/jsParse.js b/tests/unit/jsParse.js
index ed550c9..3814848 100644
--- a/tests/unit/jsParse.js
+++ b/tests/unit/jsParse.js
@@ -176,7 +176,7 @@ for (let i = 0; i < testsModifyScope.length; i++) {
let matches = text.match(/(.*)\.(.*)/);
if (matches) {
- [expr, base, attrHead] = matches;
+ let [expr, base, attrHead] = matches;
if (!JsParse.isUnsafeExpression(base)) {
with (obj) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]