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

Side by Side Diff: autotest/test_abprewrite.js.expected

Issue 5417063522762752: Issue 427 - Desugar arrow functions to normal or bound functions (Closed)
Patch Set: I just decided to ignore eval and Function for now, I can open a new bug if we really want to ban t… Created May 18, 2014, 10:55 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « autotest/abprewrite_source.js ('k') | autotest/test_abprewrite_module.js.expected » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This file is part of Adblock Plus <http://adblockplus.org/>, 2 * This file is part of Adblock Plus <http://adblockplus.org/>,
3 * Copyright (C) 2006-2014 Eyeo GmbH 3 * Copyright (C) 2006-2014 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 } 113 }
114 var a = function() 114 var a = function()
115 { 115 {
116 var _generatorResult10 = []; 116 var _generatorResult10 = [];
117 for (var i = 0; i < 10; i++) 117 for (var i = 0; i < 10; i++)
118 { 118 {
119 _generatorResult10.push(i); 119 _generatorResult10.push(i);
120 } 120 }
121 return _generatorResult10; 121 return _generatorResult10;
122 }; 122 };
123 var x = function(y)
124 {
125 return y + 1;
126 };
127 x = function(y)
128 {
129 return y + 1;
130 };
131 x = function(a, b)
132 {
133 return this[a] + b;
134 }.bind(this);
135 x = function(a, b)
136 {
137 return function()
138 {
139 return 1;
140 };
141 }.bind(this);
OLDNEW
« no previous file with comments | « autotest/abprewrite_source.js ('k') | autotest/test_abprewrite_module.js.expected » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld