From c68f68d36b07fc97453d98c32f0dfaaf28ad06d7 Mon Sep 17 00:00:00 2001 From: SunandhiniMuralidharan <71301091+SunandhiniMuralidharan@users.noreply.github.com> Date: Mon, 25 Apr 2022 17:47:01 +0530 Subject: [PATCH 1/3] Added Copyright Message --- .../java/com/cyb0rg/neumorphism/MainAbility.java | 14 ++++++++++++++ .../com/cyb0rg/neumorphism/MyApplication.java | 14 ++++++++++++++ entry/src/main/js/default/app.js | 14 ++++++++++++++ entry/src/main/js/default/pages/index/index.js | 16 +++++++++++++++- 4 files changed, 57 insertions(+), 1 deletion(-) diff --git a/entry/src/main/java/com/cyb0rg/neumorphism/MainAbility.java b/entry/src/main/java/com/cyb0rg/neumorphism/MainAbility.java index db00e14..537b70e 100644 --- a/entry/src/main/java/com/cyb0rg/neumorphism/MainAbility.java +++ b/entry/src/main/java/com/cyb0rg/neumorphism/MainAbility.java @@ -1,3 +1,17 @@ +/* +* Copyright (C) 2022 Application library engineering group. +* 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. +*/ package com.cyb0rg.neumorphism; import ohos.ace.ability.AceAbility; diff --git a/entry/src/main/java/com/cyb0rg/neumorphism/MyApplication.java b/entry/src/main/java/com/cyb0rg/neumorphism/MyApplication.java index 5910af8..6440ca3 100644 --- a/entry/src/main/java/com/cyb0rg/neumorphism/MyApplication.java +++ b/entry/src/main/java/com/cyb0rg/neumorphism/MyApplication.java @@ -1,3 +1,17 @@ +/* +* Copyright (C) 2022 Application library engineering group. +* 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. +*/ package com.cyb0rg.neumorphism; import ohos.aafwk.ability.AbilityPackage; diff --git a/entry/src/main/js/default/app.js b/entry/src/main/js/default/app.js index aedcefe..f933b67 100644 --- a/entry/src/main/js/default/app.js +++ b/entry/src/main/js/default/app.js @@ -1,3 +1,17 @@ +/* +* Copyright (C) 2022 Application library engineering group. +* 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. +*/ export default { onCreate() { console.info('AceApplication onCreate'); diff --git a/entry/src/main/js/default/pages/index/index.js b/entry/src/main/js/default/pages/index/index.js index d17530a..19db800 100644 --- a/entry/src/main/js/default/pages/index/index.js +++ b/entry/src/main/js/default/pages/index/index.js @@ -1,4 +1,18 @@ -export default { + +/* +* Copyright (C) 2022 Application library engineering group. +* 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. +*/export default { buttonClick(){ console.log('Button clicked !'); }, From 9dfcda630d72dbcfe231950b3ae8749fa8d219c9 Mon Sep 17 00:00:00 2001 From: SunandhiniMuralidharan <71301091+SunandhiniMuralidharan@users.noreply.github.com> Date: Mon, 25 Apr 2022 18:07:50 +0530 Subject: [PATCH 2/3] Added Copyright Messages --- entry/src/main/java/com/cyb0rg/neumorphism/MainAbility.java | 1 + entry/src/main/java/com/cyb0rg/neumorphism/MyApplication.java | 1 + entry/src/main/js/default/app.js | 1 + entry/src/main/js/default/pages/index/index.js | 4 +++- 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/entry/src/main/java/com/cyb0rg/neumorphism/MainAbility.java b/entry/src/main/java/com/cyb0rg/neumorphism/MainAbility.java index 537b70e..e81bcf0 100644 --- a/entry/src/main/java/com/cyb0rg/neumorphism/MainAbility.java +++ b/entry/src/main/java/com/cyb0rg/neumorphism/MainAbility.java @@ -12,6 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.cyb0rg.neumorphism; import ohos.ace.ability.AceAbility; diff --git a/entry/src/main/java/com/cyb0rg/neumorphism/MyApplication.java b/entry/src/main/java/com/cyb0rg/neumorphism/MyApplication.java index 6440ca3..cc312f7 100644 --- a/entry/src/main/java/com/cyb0rg/neumorphism/MyApplication.java +++ b/entry/src/main/java/com/cyb0rg/neumorphism/MyApplication.java @@ -12,6 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.cyb0rg.neumorphism; import ohos.aafwk.ability.AbilityPackage; diff --git a/entry/src/main/js/default/app.js b/entry/src/main/js/default/app.js index f933b67..936418f 100644 --- a/entry/src/main/js/default/app.js +++ b/entry/src/main/js/default/app.js @@ -12,6 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + export default { onCreate() { console.info('AceApplication onCreate'); diff --git a/entry/src/main/js/default/pages/index/index.js b/entry/src/main/js/default/pages/index/index.js index 19db800..7383af4 100644 --- a/entry/src/main/js/default/pages/index/index.js +++ b/entry/src/main/js/default/pages/index/index.js @@ -12,7 +12,9 @@ * 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. -*/export default { +*/ + +export default { buttonClick(){ console.log('Button clicked !'); }, From bc152d825269d32aabfe30a062cc7d667a7a8532 Mon Sep 17 00:00:00 2001 From: SunandhiniMuralidharan <71301091+SunandhiniMuralidharan@users.noreply.github.com> Date: Mon, 25 Apr 2022 18:16:28 +0530 Subject: [PATCH 3/3] Added Copyright Messages --- entry/src/main/js/default/pages/index/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/entry/src/main/js/default/pages/index/index.js b/entry/src/main/js/default/pages/index/index.js index 7383af4..cf1b7d0 100644 --- a/entry/src/main/js/default/pages/index/index.js +++ b/entry/src/main/js/default/pages/index/index.js @@ -1,4 +1,3 @@ - /* * Copyright (C) 2022 Application library engineering group. * Licensed under the Apache License, Version 2.0 (the "License");