From 66c44dc4d5379c7006292fb38f81621e8a1233b0 Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Thu, 31 Dec 2015 21:08:55 +0300 Subject: [PATCH] Update token.js --- lib/token.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/token.js b/lib/token.js index 2458277..6934714 100644 --- a/lib/token.js +++ b/lib/token.js @@ -157,7 +157,7 @@ Token.prototype.attrReplace = function attrReplace(name, value) { var attrs = this.attrs; if (attrs) { - // modify the existing attr is possible + // modify the existing attr if possible for (var i = 0; i < attrs.length; i++) { if (attrs[i][0] === name) { if (!found) {