Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: scripts/abprewrite.js

Issue 29350158: Issue 4353 - Update Js Shell to version 45 (Closed)
Patch Set: Rebased. Created Sept. 13, 2016, 1:29 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « abp_rewrite.py ('k') | scripts/astDecompile.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/abprewrite.js
diff --git a/scripts/abprewrite.js b/scripts/abprewrite.js
index a981fd333244655113721dc00bf1794b3e177a35..69f8b37507c1220ba3b27516e7d37c364433db2c 100644
--- a/scripts/abprewrite.js
+++ b/scripts/abprewrite.js
@@ -19,7 +19,6 @@ let options = {
brace_style: "expand",
source_repo: ""
};
-let global = this;
function Literal(value)
{
@@ -436,7 +435,7 @@ function modifyFunctionDeclaration(ast)
return modifyFunctionExpression(ast);
}
-function modifyArrowExpression(ast)
+function modifyArrowFunctionExpression(ast)
{
if (ast.body.type != "BlockStatement") {
// Convert expressions to block statements.
« no previous file with comments | « abp_rewrite.py ('k') | scripts/astDecompile.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld