Skip to content

Commit

Permalink
fix(escodegen): update escodegen to 1.3.0 and control parenthesize!!
Browse files Browse the repository at this point in the history
  • Loading branch information
azu committed Mar 9, 2014
1 parent aa6263b commit 66ccc61
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ function main(code) {
function embedVerbatim(node) {
var embed = helper.getCodeFromRange(node.range);
if (embed) {
node["x-verbatim-property"] = embed
node["x-verbatim-property"] = {
content : embed,
precedence : escodegen.Precedence.Primary
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"dependencies": {
"esprima": "~1.0.4",
"escodegen": "~1.2.0",
"escodegen": "~1.3.0",
"estraverse": "~1.5.0"
},
"devDependencies": {
Expand Down

0 comments on commit 66ccc61

Please sign in to comment.