From c36c1b27e5134987b7d13fd27dde5aa72dbe691d Mon Sep 17 00:00:00 2001 From: Jacobo Aragunde Pérez Date: Mon, 15 Jul 2019 12:49:29 +0200 Subject: Release code under Apache 2.0 license --- src/config.xml | 2 +- src/index.html | 15 +++++++++++++++ src/index.js | 16 ++++++++++++++++ src/js/buttons.js | 16 ++++++++++++++++ src/js/chair.js | 16 ++++++++++++++++ src/js/fan_speed.js | 16 ++++++++++++++++ src/js/temperature.js | 16 ++++++++++++++++ 7 files changed, 96 insertions(+), 1 deletion(-) (limited to 'src') 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 @@ HTML5 HVAC demo Igalia, S.L. - MIT + APL 2.0 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 @@ + 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; -- cgit 1.2.3-korg