OLD | NEW |
1 /* | 1 /* This Source Code Form is subject to the terms of the Mozilla Public |
2 * This file is part of Adblock Plus <https://adblockplus.org/>, | 2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
3 * Copyright (C) 2006-present eyeo GmbH | 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
4 * | |
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 | |
7 * published by the Free Software Foundation. | |
8 * | |
9 * Adblock Plus is distributed in the hope that it will be useful, | |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 * GNU General Public License for more details. | |
13 * | |
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/>. | |
16 */ | |
17 | 4 |
18 "use strict"; | 5 "use strict"; |
19 | 6 |
20 let infoModule = ""; | 7 let infoModule = ""; |
21 | 8 |
22 function infoLoader(source) | 9 function infoLoader(source) |
23 { | 10 { |
24 return infoModule; | 11 return infoModule; |
25 } | 12 } |
26 infoLoader.setInfoModule = contents => { infoModule = contents; }; | 13 infoLoader.setInfoModule = contents => { infoModule = contents; }; |
27 | 14 |
28 module.exports = infoLoader; | 15 module.exports = infoLoader; |
OLD | NEW |