summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJacobo Aragunde Pérez <jaragunde@igalia.com>2019-07-15 12:49:29 +0200
committerLorenzo Tilve <ltilve@igalia.com>2020-02-04 09:42:15 +0100
commitc36c1b27e5134987b7d13fd27dde5aa72dbe691d (patch)
treeced1fd49ccc842778ae532ca6d3e8a7d27c444c2 /src
parentcd79085c5cfe21bb8ff3834b8756daf0184c3e14 (diff)
Release code under Apache 2.0 license
Diffstat (limited to 'src')
-rw-r--r--src/config.xml2
-rw-r--r--src/index.html15
-rw-r--r--src/index.js16
-rw-r--r--src/js/buttons.js16
-rw-r--r--src/js/chair.js16
-rw-r--r--src/js/fan_speed.js16
-rw-r--r--src/js/temperature.js16
7 files changed, 96 insertions, 1 deletions
diff --git a/src/config.xml b/src/config.xml
index addc47f..2923172 100644
--- a/src/config.xml
+++ b/src/config.xml
@@ -5,7 +5,7 @@
<content src="index.html" type="text/html"/>
<description>HTML5 HVAC demo</description>
<author>Igalia, S.L.</author>
- <license>MIT</license>
+ <license>APL 2.0</license>
<feature name="urn:AGL:widget:required-permission">
<param name="urn:AGL:permission::public:no-htdocs" value="required" />
<param name="urn:AGL:permission:afm:system:widget" value="required" /> <!-- list available apps -->
diff --git a/src/index.html b/src/index.html
index d045d1d..4a1fdfd 100644
--- a/src/index.html
+++ b/src/index.html
@@ -1,3 +1,18 @@
+<!--
+ Copyright 2019 Igalia, S.L.
+
+ 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.
+-->
<!doctype html>
<html lang="en">
<head>
diff --git a/src/index.js b/src/index.js
index d71dd0c..67f800a 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2019 Igalia, S.L.
+ *
+ * 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.
+ */
+
/* JS */
import './js/AFB.js';
diff --git a/src/js/buttons.js b/src/js/buttons.js
index 76c3ef4..5fcb521 100644
--- a/src/js/buttons.js
+++ b/src/js/buttons.js
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2019 Igalia, S.L.
+ *
+ * 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.
+ */
+
var buttons = {
ac: false,
auto: false,
diff --git a/src/js/chair.js b/src/js/chair.js
index b1a3dbb..5cd26e8 100644
--- a/src/js/chair.js
+++ b/src/js/chair.js
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2019 Igalia, S.L.
+ *
+ * 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.
+ */
+
var left = 0;
var right = 0;
diff --git a/src/js/fan_speed.js b/src/js/fan_speed.js
index 4c8349e..8b131b5 100644
--- a/src/js/fan_speed.js
+++ b/src/js/fan_speed.js
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2019 Igalia, S.L.
+ *
+ * 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.
+ */
+
var value = 0;
function update(node, value) {
diff --git a/src/js/temperature.js b/src/js/temperature.js
index 45cbe8c..3a394a1 100644
--- a/src/js/temperature.js
+++ b/src/js/temperature.js
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2019 Igalia, S.L.
+ *
+ * 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.
+ */
+
var left = 22;
var right = 22;