From 5ff379dfad5dc992ca7e3d1122876dccd7ee3406 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9?= Date: Sat, 6 Jun 2015 21:02:02 +0300 Subject: [PATCH] fix braces --- src/directives/attr.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/directives/attr.js b/src/directives/attr.js index 5b443c47594..7c7bb4dbc2b 100644 --- a/src/directives/attr.js +++ b/src/directives/attr.js @@ -20,9 +20,10 @@ module.exports = { var cache = this.cache || (this.cache = {}) var attr, val for (attr in cache) { - if (!(attr in value)) + if (!(attr in value)) { this.setAttr(attr, null) delete cache[attr] + } } for (attr in value) { val = value[attr]