From bb584e4d278e659c95edea8145e6e09a6337c791 Mon Sep 17 00:00:00 2001
From: Dominik George <nik@naturalnet.de>
Date: Thu, 22 Apr 2021 22:26:10 +0200
Subject: [PATCH] Add license headers

---
 src/backends/base.js        | 15 +++++++++++++++
 src/backends/widget.js      | 15 +++++++++++++++
 src/frontend/game.js        | 15 +++++++++++++++
 src/frontend/scenes/test.js | 15 +++++++++++++++
 src/widget.js               | 15 +++++++++++++++
 5 files changed, 75 insertions(+)

diff --git a/src/backends/base.js b/src/backends/base.js
index 61d3166..1736e6f 100644
--- a/src/backends/base.js
+++ b/src/backends/base.js
@@ -1,3 +1,18 @@
+/* Copyright 2021 Dominik George <nik@naturalnet.de>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 class BaseBackend() {
 }
 
diff --git a/src/backends/widget.js b/src/backends/widget.js
index 69f883f..bfee439 100644
--- a/src/backends/widget.js
+++ b/src/backends/widget.js
@@ -1,3 +1,18 @@
+/* Copyright 2021 Dominik George <nik@naturalnet.de>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 import BaseBackend from './base';
 import WidgetApi from 'matrix-widget-api';
 
diff --git a/src/frontend/game.js b/src/frontend/game.js
index 74e7650..eba46c1 100644
--- a/src/frontend/game.js
+++ b/src/frontend/game.js
@@ -1,3 +1,18 @@
+/* Copyright 2021 Dominik George <nik@naturalnet.de>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 import Phaser from 'phaser';
 import TestScene from './scenes/test';
 
diff --git a/src/frontend/scenes/test.js b/src/frontend/scenes/test.js
index 9ca189f..020f377 100644
--- a/src/frontend/scenes/test.js
+++ b/src/frontend/scenes/test.js
@@ -1,3 +1,18 @@
+/* Copyright 2021 Dominik George <nik@naturalnet.de>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 function preload () {
   this.load.image('404', 'http://labs.phaser.io/assets/sprites/phaser3-logo.png')
 }
diff --git a/src/widget.js b/src/widget.js
index d96e46c..fcd51e8 100644
--- a/src/widget.js
+++ b/src/widget.js
@@ -1,3 +1,18 @@
+/* Copyright 2021 Dominik George <nik@naturalnet.de>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 import WidgetBackend from './backends/widget';
 import Game from './frontend/game';
 
-- 
GitLab