diff options
author | Jacobo Aragunde Pérez <jaragunde@igalia.com> | 2019-07-15 12:49:29 +0200 |
---|---|---|
committer | Jacobo Aragunde Pérez <jaragunde@igalia.com> | 2019-07-15 12:49:29 +0200 |
commit | b26bc7ad37bc14ef88dc36cdab4b6e6224ad6d66 (patch) | |
tree | ced1fd49ccc842778ae532ca6d3e8a7d27c444c2 /src | |
parent | 40a5f2d5242065893610836ca7d18925c539bc1c (diff) |
Release code under Apache 2.0 license
Diffstat (limited to 'src')
-rw-r--r-- | src/config.xml | 2 | ||||
-rw-r--r-- | src/index.html | 15 | ||||
-rw-r--r-- | src/index.js | 16 | ||||
-rw-r--r-- | src/js/buttons.js | 16 | ||||
-rw-r--r-- | src/js/chair.js | 16 | ||||
-rw-r--r-- | src/js/fan_speed.js | 16 | ||||
-rw-r--r-- | src/js/temperature.js | 16 |
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; |