Removed trailing commas in object initializers (Google Closure does not like them).

redux
David Majda 14 years ago
parent 38dac2382c
commit 7bf51eddf0

@ -47,7 +47,7 @@ PEG.StringUtils = {
.replace(/\u2029/g, '\\u2029') // paragraph separator .replace(/\u2029/g, '\\u2029') // paragraph separator
.replace(/\n/g, '\\n') // line feed .replace(/\n/g, '\\n') // line feed
+ '"'; + '"';
}, }
}; };
@ -147,7 +147,7 @@ PEG.Parser.prototype = {
initialize(); initialize();
var initialContext = { var initialContext = {
reportMatchFailures: true, reportMatchFailures: true
}; };
var result = this["_parse_" + this._startRule](initialContext); var result = this["_parse_" + this._startRule](initialContext);

Loading…
Cancel
Save