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

Side by Side Diff: lib/compat.js

Issue 29481653: Issue 5378 - Stop using of jshydra in libadblockplus (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Patch Set: Created July 6, 2017, 1:32 p.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 | « convert_js.py ('k') | lib/io.js » ('j') | lib/io.js » ('J')
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 <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-2017 eyeo GmbH 3 * Copyright (C) 2006-2017 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 return new XMLHttpRequest(); 71 return new XMLHttpRequest();
72 } 72 }
73 } 73 }
74 }, 74 },
75 results: {}, 75 results: {},
76 utils: { 76 utils: {
77 reportError: function(e) 77 reportError: function(e)
78 { 78 {
79 console.error(e); 79 console.error(e);
80 console.trace(); 80 console.trace();
81 },
82 import: function()
sergei 2017/07/06 13:37:01 It's for numerous Cu.import
83 {
81 } 84 }
82 }, 85 },
83 manager: null, 86 manager: null,
84 ID: function() 87 ID: function()
85 { 88 {
86 return null; 89 return null;
87 } 90 }
88 }; 91 };
89 const Cc = Components.classes; 92 const Cc = Components.classes;
90 const Ci = Components.interfaces; 93 const Ci = Components.interfaces;
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 // d. If testResult is true, return kValue. 510 // d. If testResult is true, return kValue.
508 var kValue = o[k]; 511 var kValue = o[k];
509 if (predicate.call(thisArg, kValue, k, o)) { 512 if (predicate.call(thisArg, kValue, k, o)) {
510 return kValue; 513 return kValue;
511 } 514 }
512 // e. Increase k by 1. 515 // e. Increase k by 1.
513 k++; 516 k++;
514 } 517 }
515 } 518 }
516 }); 519 });
517 } 520 }
OLDNEW
« no previous file with comments | « convert_js.py ('k') | lib/io.js » ('j') | lib/io.js » ('J')

Powered by Google App Engine
This is Rietveld