From 8d6c966183019d870dc3b6b77fc28660b325e211 Mon Sep 17 00:00:00 2001 From: droooney Date: Sat, 9 Sep 2017 18:11:37 +0500 Subject: [PATCH] fixes #2866 --- packages/pug-code-gen/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pug-code-gen/index.js b/packages/pug-code-gen/index.js index 9f578ef79..6409d0ad0 100644 --- a/packages/pug-code-gen/index.js +++ b/packages/pug-code-gen/index.js @@ -810,7 +810,7 @@ Compiler.prototype = { * Compile attribute blocks. */ - attributeBlocks(attributeBlocks) { + attributeBlocks: function (attributeBlocks) { return attributeBlocks && attributeBlocks.slice().map(function(attrBlock){ return attrBlock.val; });