Browse Source

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

redux
David Majda 12 years ago
parent
commit
7bf51eddf0
  1. 4
      lib/runtime.js

4
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);

Loading…
Cancel
Save