From 473f5cd3591cf2adb5632b391bb050af0c826d86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sampo=20Kivist=C3=B6?= Date: Sun, 4 Nov 2018 10:44:54 +0200 Subject: [PATCH] Re-use attr variable --- src/core/PrettyPrinter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/PrettyPrinter.js b/src/core/PrettyPrinter.js index 8297ed4a..39b85e56 100644 --- a/src/core/PrettyPrinter.js +++ b/src/core/PrettyPrinter.js @@ -240,7 +240,7 @@ getJasmineRequireObj().pp = function(j$) { out += ' ' + attr.name; if (attr.value !== '') { - out += '="' + attrs[i].value + '"'; + out += '="' + attr.value + '"'; } }