| OLD | NEW |
| 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 Loading... |
| 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() |
| 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 Loading... |
| 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 } |
| OLD | NEW |