| Index: lib/uninstall.js |
| =================================================================== |
| --- a/lib/uninstall.js |
| +++ b/lib/uninstall.js |
| @@ -12,21 +12,19 @@ |
| * GNU General Public License for more details. |
| * |
| * You should have received a copy of the GNU General Public License |
| * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
| */ |
| /** @module uninstall */ |
| -"use strict"; |
| - |
| -const info = require("info"); |
| -const {Prefs} = require("prefs"); |
| -const {Utils} = require("utils"); |
| +import info from "info"; |
| +import {Prefs} from "prefs"; |
| +import {Utils} from "utils"; |
| function setUninstallURL() |
| { |
| let search = []; |
| for (let key of ["addonName", "addonVersion", "application", |
| "applicationVersion", "platform", "platformVersion"]) |
| search.push(key + "=" + encodeURIComponent(info[key])); |