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

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

Issue 4935066966818816: Issue 1772 - [JSHydra] Convert const to var for Chrome (Closed)
Patch Set: Created Jan. 10, 2015, 12:03 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
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details. 12 * GNU General Public License for more details.
13 * 13 *
14 * You should have received a copy of the GNU General Public License 14 * You should have received a copy of the GNU General Public License
15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. 15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
16 */ 16 */
17 17
18 // 18 //
19 // This file has been generated automatically, relevant repositories: 19 // This file has been generated automatically, relevant repositories:
20 // * https://hg.adblockplus.org/jshydra/ 20 // * https://hg.adblockplus.org/jshydra/
21 // 21 //
22 22
23 const Cl = Components.unknown; 23 var Cl = Components.unknown;
24 var Utils = require("utils").Utils; 24 var Utils = require("utils").Utils;
25 var _tempVar0 = require("filterClasses"); 25 var _tempVar0 = require("filterClasses");
26 var Filter = _tempVar0.Filter; 26 var Filter = _tempVar0.Filter;
27 var BlockingFilter = _tempVar0.BlockingFilter; 27 var BlockingFilter = _tempVar0.BlockingFilter;
28 var foo; 28 var foo;
29 var bar = 2; 29 var bar = 2;
30 var bas; 30 var bas;
31 var FOO = "FOO";
31 var _tempVar1 = foo(); 32 var _tempVar1 = foo();
32 var a = _tempVar1[0]; 33 var a = _tempVar1[0];
33 var b = _tempVar1[1]; 34 var b = _tempVar1[1];
34 var _tempVar2 = [1, 2]; 35 var _tempVar2 = [1, 2];
35 a = _tempVar2[0]; 36 a = _tempVar2[0];
36 b = _tempVar2[1]; 37 b = _tempVar2[1];
37 var y = foo().x; 38 var y = foo().x;
38 var _tempVar3 = foo(); 39 var _tempVar3 = foo();
39 var v1 = _tempVar3.k1; 40 var v1 = _tempVar3.k1;
40 var v2 = _tempVar3.k2; 41 var v2 = _tempVar3.k2;
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 { 144 {
144 return this[a] + b; 145 return this[a] + b;
145 }.bind(this); 146 }.bind(this);
146 x = function(a, b) 147 x = function(a, b)
147 { 148 {
148 return function() 149 return function()
149 { 150 {
150 return 1; 151 return 1;
151 }; 152 };
152 }.bind(this); 153 }.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