diff options
author | Maximilian Krambach <[email protected]> | 2018-06-06 11:05:53 +0000 |
---|---|---|
committer | Maximilian Krambach <[email protected]> | 2018-06-06 11:05:53 +0000 |
commit | bfd3799d39df265882deedeee083fd5246a2f35d (patch) | |
tree | bfee0a85d6373fa578de075cbce4d26ddced14e4 /lang/js/BrowserTestExtension/popup.js | |
parent | js: implement import/delete Key, some fixes (diff) | |
download | gpgme-bfd3799d39df265882deedeee083fd5246a2f35d.tar.gz gpgme-bfd3799d39df265882deedeee083fd5246a2f35d.zip |
js: code cleanup (eslint)
--
* trying to stick to eslint from now on for readability
* As some attribution was lost in previous git confusions, I added my
name into some of the licence headers
Diffstat (limited to '')
-rw-r--r-- | lang/js/BrowserTestExtension/popup.js | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/lang/js/BrowserTestExtension/popup.js b/lang/js/BrowserTestExtension/popup.js index 12beb1eb..794620b6 100644 --- a/lang/js/BrowserTestExtension/popup.js +++ b/lang/js/BrowserTestExtension/popup.js @@ -16,27 +16,13 @@ * You should have received a copy of the GNU Lesser General Public * License along with this program; if not, see <http://www.gnu.org/licenses/>. * SPDX-License-Identifier: LGPL-2.1+ - */ -/* gpgme.js - Javascript integration for gpgme - * Copyright (C) 2018 Bundesamt für Sicherheit in der Informationstechnik - * - * This file is part of GPGME. - * - * GPGME is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of - * the License, or (at your option) any later version. * - * GPGME is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, see <http://www.gnu.org/licenses/>. - * SPDX-License-Identifier: LGPL-2.1+ + * Author(s): + * Maximilian Krambach <[email protected]> */ +/* global chrome */ + document.addEventListener('DOMContentLoaded', function() { chrome.tabs.create({ url: './index.html' |