summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-02-25 20:21:05 -0500
committerGitHub <noreply@github.com>2021-02-25 20:21:05 -0500
commit782b945905c948b9a0495aa85524ad1a92c7bd97 (patch)
tree2dfe5e1b38a2f448f77f62135a974ca75002090f /test
parentb2f225a0d6a63d65d0543539d688d33c51a4fb8e (diff)
Header lint (#1444)
* Add eslint-plugin-header * Add rule for header format * Add missing header * Fix header issues
Diffstat (limited to 'test')
-rw-r--r--test/data/html/test-document2-script.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/data/html/test-document2-script.js b/test/data/html/test-document2-script.js
index 01bc211f..8e381b09 100644
--- a/test/data/html/test-document2-script.js
+++ b/test/data/html/test-document2-script.js
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2021 Yomichan Authors
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
function requestFullscreen(element) {
if (element.requestFullscreen) {
element.requestFullscreen();