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

Delta Between Two Patch Sets: autotest/test_abprewrite_module.js.expected

Issue 5417063522762752: Issue 427 - Desugar arrow functions to normal or bound functions (Closed)
Left Patch Set: Created May 10, 2014, 12:46 p.m.
Right 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:
Right: Side by side diff | Download
« no previous file with change/comment | « autotest/test_abprewrite.js.expected ('k') | scripts/abprewrite.js » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 } 116 }
117 var a = function() 117 var a = function()
118 { 118 {
119 var _generatorResult10 = []; 119 var _generatorResult10 = [];
120 for (var i = 0; i < 10; i++) 120 for (var i = 0; i < 10; i++)
121 { 121 {
122 _generatorResult10.push(i); 122 _generatorResult10.push(i);
123 } 123 }
124 return _generatorResult10; 124 return _generatorResult10;
125 }; 125 };
126 var x = function(y)
127 {
128 return y + 1;
129 };
130 x = function(y)
131 {
132 return y + 1;
133 };
134 x = function(a, b)
135 {
136 return this[a] + b;
137 }.bind(this);
138 x = function(a, b)
139 {
140 return function()
141 {
142 return 1;
143 };
144 }.bind(this);
126 return exports; 145 return exports;
127 })(); 146 })();
LEFTRIGHT

Powered by Google App Engine
This is Rietveld