From cca41e6618974df5ecbe7c1663d12bf4083585e4 Mon Sep 17 00:00:00 2001 From: David Majda Date: Fri, 21 Aug 2015 16:36:43 +0200 Subject: [PATCH] Quote |class| object literal key It broke IE 8. --- examples/css.pegjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/css.pegjs b/examples/css.pegjs index a246e2f..24f9298 100644 --- a/examples/css.pegjs +++ b/examples/css.pegjs @@ -180,7 +180,7 @@ id = id:HASH { return { type: "IDSelector", id: id }; } class - = "." class_:IDENT { return { type: "ClassSelector", class: class_ }; } + = "." class_:IDENT { return { type: "ClassSelector", "class": class_ }; } element_name = IDENT