Conflicts:
	README.md
	acorn.js
	package.json
This commit is contained in:
Sebastian McKenzie
2014-12-27 20:02:15 +11:00
8 changed files with 325 additions and 89 deletions

View File

@@ -58,7 +58,6 @@
parse: (typeof require === "undefined" ? window.acorn : require("../acorn_loose")).parse_dammit,
loose: true,
filter: function (test) {
if (/`/.test(test.code)) return false; // FIXME remove this when the loose parse supports template strings
var opts = test.options || {};
if (opts.loose === false) return false;
return (opts.ecmaVersion || 5) <= 6;