From 7bf51eddf0433ef25a3676dbdc6ff467fb990685 Mon Sep 17 00:00:00 2001 From: David Majda Date: Mon, 8 Mar 2010 14:44:46 +0100 Subject: [PATCH] Removed trailing commas in object initializers (Google Closure does not like them). --- lib/runtime.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/runtime.js b/lib/runtime.js index e910088..7f76bfd 100644 --- a/lib/runtime.js +++ b/lib/runtime.js @@ -47,7 +47,7 @@ PEG.StringUtils = { .replace(/\u2029/g, '\\u2029') // paragraph separator .replace(/\n/g, '\\n') // line feed + '"'; - }, + } }; @@ -147,7 +147,7 @@ PEG.Parser.prototype = { initialize(); var initialContext = { - reportMatchFailures: true, + reportMatchFailures: true }; var result = this["_parse_" + this._startRule](initialContext);