From 523e7b644db19ce258538155f8e6557e8660674c Mon Sep 17 00:00:00 2001 From: jiyong Date: Mon, 13 Sep 2021 20:41:53 +0800 Subject: [PATCH] jiyong@huawei.com Signed-off-by: jiyong Change-Id: I799d1eaeaeecb401c88b8e4f3de65ee9ac698c36 --- .../entry/src/main/js/default/pages/index/index.js | 3 +++ .../entry/src/main/js/default/pages/index/index.js | 3 +++ .../entry/src/main/js/default/pages/index/index.js | 3 +++ .../entry/src/main/js/default/pages/index/index.js | 3 +++ .../entry/src/main/js/default/pages/index/index.js | 3 +++ .../entry/src/main/js/default/pages/index/index.js | 3 +++ .../entry/src/main/js/default/pages/index/index.js | 3 +++ .../entry/src/main/js/default/pages/index/index.js | 3 +++ .../entry/src/main/js/default/pages/index/index.js | 3 +++ .../entry/src/main/js/default/pages/index/index.js | 3 +++ .../src/main/js/default/pages/index/index.js | 4 ++++ .../src/main/js/default/pages/index/index.js | 3 +++ .../src/main/js/default/pages/index/index.js | 3 +++ .../verifyAAbility/src/main/js/default/pages/index/index.js | 3 +++ .../verifyIAbility/src/main/js/default/pages/index/index.js | 3 +++ .../entry/src/main/js/default/pages/index/index.js | 3 +++ .../defpermission/src/main/js/default/pages/index/index.js | 3 +++ .../entry/src/main/js/default/pages/index/index.js | 5 ++++- .../src/main/js/default/pages/index/index.js | 6 +++++- .../src/main/js/default/pages/index/index.js | 6 +++++- .../src/main/js/default/pages/index/index.js | 6 +++++- .../src/main/js/default/pages/index/index.js | 6 +++++- .../startability/src/main/js/default/pages/index/index.js | 6 +++++- .../src/main/js/default/pages/index/index.js | 5 ++++- .../src/main/js/default/pages/index/index.js | 6 +++++- .../entry/src/main/js/default/pages/index/index.js | 3 +++ .../entry/src/main/js/default/pages/index/index.js | 3 +++ .../src/main/js/default/pages/index/index.js | 3 +++ .../entry/src/main/js/default/pages/index/index.js | 5 ++++- .../bmssceneeight/src/main/js/default/pages/index/index.js | 3 +++ .../bmsscenefive/src/main/js/default/pages/index/index.js | 3 +++ .../bmsscenefour/src/main/js/default/pages/index/index.js | 3 +++ .../bmsscenenine/src/main/js/default/pages/index/index.js | 5 ++++- .../bmssceneone/src/main/js/default/pages/index/index.js | 3 +++ .../bmssceneseven/src/main/js/default/pages/index/index.js | 3 +++ .../bmsscenesix/src/main/js/default/pages/index/index.js | 3 +++ .../bmsscenethree/src/main/js/default/pages/index/index.js | 3 +++ .../bmsscenetwo/src/main/js/default/pages/index/index.js | 3 +++ .../entry/src/main/js/default/pages/index/index.js | 3 +++ .../entry/src/main/js/default/pages/index/index.js | 3 +++ 40 files changed, 137 insertions(+), 10 deletions(-) diff --git a/aafwk/aafwk_standard/abilitymanager/actsamscallbackfifthscene/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/abilitymanager/actsamscallbackfifthscene/entry/src/main/js/default/pages/index/index.js index 1384ae877..36de99b09 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamscallbackfifthscene/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamscallbackfifthscene/entry/src/main/js/default/pages/index/index.js @@ -1,6 +1,9 @@ import file from '@system.file' import {Core, ExpectExtend} from 'deccjsunit/index' +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" diff --git a/aafwk/aafwk_standard/abilitymanager/actsamscallbackfirstscene/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/abilitymanager/actsamscallbackfirstscene/entry/src/main/js/default/pages/index/index.js index bdaebb959..74f3b650b 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamscallbackfirstscene/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamscallbackfirstscene/entry/src/main/js/default/pages/index/index.js @@ -15,6 +15,9 @@ import file from '@system.file' import {Core, ExpectExtend, ReportExtend} from 'deccjsunit/index' +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" diff --git a/aafwk/aafwk_standard/abilitymanager/actsamscallbackfourthscene/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/abilitymanager/actsamscallbackfourthscene/entry/src/main/js/default/pages/index/index.js index bdaebb959..74f3b650b 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamscallbackfourthscene/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamscallbackfourthscene/entry/src/main/js/default/pages/index/index.js @@ -15,6 +15,9 @@ import file from '@system.file' import {Core, ExpectExtend, ReportExtend} from 'deccjsunit/index' +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" diff --git a/aafwk/aafwk_standard/abilitymanager/actsamscallbacksecondscene/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/abilitymanager/actsamscallbacksecondscene/entry/src/main/js/default/pages/index/index.js index bdaebb959..74f3b650b 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamscallbacksecondscene/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamscallbacksecondscene/entry/src/main/js/default/pages/index/index.js @@ -15,6 +15,9 @@ import file from '@system.file' import {Core, ExpectExtend, ReportExtend} from 'deccjsunit/index' +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" diff --git a/aafwk/aafwk_standard/abilitymanager/actsamscallbackthirdscene/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/abilitymanager/actsamscallbackthirdscene/entry/src/main/js/default/pages/index/index.js index bdaebb959..74f3b650b 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamscallbackthirdscene/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamscallbackthirdscene/entry/src/main/js/default/pages/index/index.js @@ -15,6 +15,9 @@ import file from '@system.file' import {Core, ExpectExtend, ReportExtend} from 'deccjsunit/index' +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" diff --git a/aafwk/aafwk_standard/abilitymanager/actsamstestfifthscene/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/abilitymanager/actsamstestfifthscene/entry/src/main/js/default/pages/index/index.js index bdaebb959..74f3b650b 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamstestfifthscene/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamstestfifthscene/entry/src/main/js/default/pages/index/index.js @@ -15,6 +15,9 @@ import file from '@system.file' import {Core, ExpectExtend, ReportExtend} from 'deccjsunit/index' +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" diff --git a/aafwk/aafwk_standard/abilitymanager/actsamstestfirstscene/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/abilitymanager/actsamstestfirstscene/entry/src/main/js/default/pages/index/index.js index bdaebb959..74f3b650b 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamstestfirstscene/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamstestfirstscene/entry/src/main/js/default/pages/index/index.js @@ -15,6 +15,9 @@ import file from '@system.file' import {Core, ExpectExtend, ReportExtend} from 'deccjsunit/index' +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" diff --git a/aafwk/aafwk_standard/abilitymanager/actsamstestfourthscene/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/abilitymanager/actsamstestfourthscene/entry/src/main/js/default/pages/index/index.js index bdaebb959..74f3b650b 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamstestfourthscene/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamstestfourthscene/entry/src/main/js/default/pages/index/index.js @@ -15,6 +15,9 @@ import file from '@system.file' import {Core, ExpectExtend, ReportExtend} from 'deccjsunit/index' +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" diff --git a/aafwk/aafwk_standard/abilitymanager/actsamstestsecondscene/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/abilitymanager/actsamstestsecondscene/entry/src/main/js/default/pages/index/index.js index bdaebb959..74f3b650b 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamstestsecondscene/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamstestsecondscene/entry/src/main/js/default/pages/index/index.js @@ -15,6 +15,9 @@ import file from '@system.file' import {Core, ExpectExtend, ReportExtend} from 'deccjsunit/index' +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" diff --git a/aafwk/aafwk_standard/abilitymanager/actsamstestthirdscene/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/abilitymanager/actsamstestthirdscene/entry/src/main/js/default/pages/index/index.js index bdaebb959..74f3b650b 100644 --- a/aafwk/aafwk_standard/abilitymanager/actsamstestthirdscene/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/abilitymanager/actsamstestthirdscene/entry/src/main/js/default/pages/index/index.js @@ -15,6 +15,9 @@ import file from '@system.file' import {Core, ExpectExtend, ReportExtend} from 'deccjsunit/index' +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" diff --git a/aafwk/aafwk_standard/abilitymanager/sceneProject/simulateEAbility/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/abilitymanager/sceneProject/simulateEAbility/src/main/js/default/pages/index/index.js index dd3501fe5..7acf69de4 100644 --- a/aafwk/aafwk_standard/abilitymanager/sceneProject/simulateEAbility/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/abilitymanager/sceneProject/simulateEAbility/src/main/js/default/pages/index/index.js @@ -12,6 +12,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" diff --git a/aafwk/aafwk_standard/abilitymanager/sceneProject/simulateFAbilityFir/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/abilitymanager/sceneProject/simulateFAbilityFir/src/main/js/default/pages/index/index.js index dd3501fe5..23ac44c8d 100644 --- a/aafwk/aafwk_standard/abilitymanager/sceneProject/simulateFAbilityFir/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/abilitymanager/sceneProject/simulateFAbilityFir/src/main/js/default/pages/index/index.js @@ -12,6 +12,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" diff --git a/aafwk/aafwk_standard/abilitymanager/sceneProject/simulateFAbilitySed/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/abilitymanager/sceneProject/simulateFAbilitySed/src/main/js/default/pages/index/index.js index dd3501fe5..23ac44c8d 100644 --- a/aafwk/aafwk_standard/abilitymanager/sceneProject/simulateFAbilitySed/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/abilitymanager/sceneProject/simulateFAbilitySed/src/main/js/default/pages/index/index.js @@ -12,6 +12,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" diff --git a/aafwk/aafwk_standard/abilitymanager/sceneProject/verifyAAbility/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/abilitymanager/sceneProject/verifyAAbility/src/main/js/default/pages/index/index.js index dd3501fe5..23ac44c8d 100644 --- a/aafwk/aafwk_standard/abilitymanager/sceneProject/verifyAAbility/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/abilitymanager/sceneProject/verifyAAbility/src/main/js/default/pages/index/index.js @@ -12,6 +12,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" diff --git a/aafwk/aafwk_standard/abilitymanager/sceneProject/verifyIAbility/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/abilitymanager/sceneProject/verifyIAbility/src/main/js/default/pages/index/index.js index dd3501fe5..23ac44c8d 100644 --- a/aafwk/aafwk_standard/abilitymanager/sceneProject/verifyIAbility/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/abilitymanager/sceneProject/verifyIAbility/src/main/js/default/pages/index/index.js @@ -12,6 +12,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" diff --git a/aafwk/aafwk_standard/context/actscontexttest/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/context/actscontexttest/entry/src/main/js/default/pages/index/index.js index 2cc34ee79..81cee62d9 100755 --- a/aafwk/aafwk_standard/context/actscontexttest/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/context/actscontexttest/entry/src/main/js/default/pages/index/index.js @@ -18,6 +18,9 @@ import device from '@system.device' import router from '@system.router' import {Core, ExpectExtend, ReportExtend} from 'deccjsunit/index' +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" diff --git a/aafwk/aafwk_standard/context/scene/defpermission/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/context/scene/defpermission/src/main/js/default/pages/index/index.js index 63f1dda03..7acf69de4 100755 --- a/aafwk/aafwk_standard/context/scene/defpermission/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/context/scene/defpermission/src/main/js/default/pages/index/index.js @@ -13,6 +13,9 @@ * limitations under the License. */ +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" diff --git a/aafwk/aafwk_standard/featureability/actsfeatureabilitytest/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/featureability/actsfeatureabilitytest/entry/src/main/js/default/pages/index/index.js index 8192e1ebf..836c322bd 100644 --- a/aafwk/aafwk_standard/featureability/actsfeatureabilitytest/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/featureability/actsfeatureabilitytest/entry/src/main/js/default/pages/index/index.js @@ -16,6 +16,9 @@ import file from '@system.file' import app from '@system.app' import {Core, ExpectExtend, ReportExtend} from 'deccjsunit/index' +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" @@ -41,4 +44,4 @@ export default { }, onReady() { }, -} \ No newline at end of file +} diff --git a/aafwk/aafwk_standard/featureability/sceneproject/finishwithresultemptytest/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/featureability/sceneproject/finishwithresultemptytest/src/main/js/default/pages/index/index.js index d3a1ad08e..684eaa4ca 100644 --- a/aafwk/aafwk_standard/featureability/sceneproject/finishwithresultemptytest/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/featureability/sceneproject/finishwithresultemptytest/src/main/js/default/pages/index/index.js @@ -14,6 +14,10 @@ */ import commonEvent from '@ohos.commonevent' import featureAbility from '@ohos.ability.featureAbility' + +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + function PublishCallBackOne() { console.debug("====>Publish CallBack ACTS_FinishWithResult_0300_CommonEvent====>"); } @@ -48,4 +52,4 @@ export default { }, onReady() { }, -} \ No newline at end of file +} diff --git a/aafwk/aafwk_standard/featureability/sceneproject/finishwithresultpromiseparameterstest/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/featureability/sceneproject/finishwithresultpromiseparameterstest/src/main/js/default/pages/index/index.js index 3b692ef91..f2f6c0e91 100644 --- a/aafwk/aafwk_standard/featureability/sceneproject/finishwithresultpromiseparameterstest/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/featureability/sceneproject/finishwithresultpromiseparameterstest/src/main/js/default/pages/index/index.js @@ -15,6 +15,10 @@ import commonevent from '@ohos.commonevent' import featureAbility from '@ohos.ability.featureAbility' + +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + function PublishCallBack() { console.debug("====>Publish CallBack ACTS_FinishWithResult_0100_CommonEvent====>"); } @@ -88,4 +92,4 @@ export default { }, onReady() { }, -} \ No newline at end of file +} diff --git a/aafwk/aafwk_standard/featureability/sceneproject/finishwithresulttest/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/featureability/sceneproject/finishwithresulttest/src/main/js/default/pages/index/index.js index c0c69454b..73ebb7c14 100644 --- a/aafwk/aafwk_standard/featureability/sceneproject/finishwithresulttest/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/featureability/sceneproject/finishwithresulttest/src/main/js/default/pages/index/index.js @@ -15,6 +15,10 @@ import commonEvent from '@ohos.commonevent' import featureAbility from '@ohos.ability.featureAbility' + +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + function PublishCallBack() { console.debug("====>Publish CallBack ACTS_FinishWithResult_0200_CommonEvent====>"); } @@ -44,4 +48,4 @@ export default { }, onReady() { }, -} \ No newline at end of file +} diff --git a/aafwk/aafwk_standard/featureability/sceneproject/getcallingbundletest/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/featureability/sceneproject/getcallingbundletest/src/main/js/default/pages/index/index.js index 0e64df9ff..258a93778 100644 --- a/aafwk/aafwk_standard/featureability/sceneproject/getcallingbundletest/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/featureability/sceneproject/getcallingbundletest/src/main/js/default/pages/index/index.js @@ -14,6 +14,10 @@ */ import commonEvent from '@ohos.commonevent' import featureAbility from '@ohos.ability.featureAbility' + +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + function PublishCallBackOne() { console.debug("====>Publish CallBack ACTS_GetCallingBundle_0100_CommonEvent====>"); } @@ -43,4 +47,4 @@ export default { }, onReady() { }, -} \ No newline at end of file +} diff --git a/aafwk/aafwk_standard/featureability/sceneproject/startability/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/featureability/sceneproject/startability/src/main/js/default/pages/index/index.js index 5357ffdf8..15deca415 100644 --- a/aafwk/aafwk_standard/featureability/sceneproject/startability/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/featureability/sceneproject/startability/src/main/js/default/pages/index/index.js @@ -13,6 +13,10 @@ * limitations under the License. */ import commonEvent from '@ohos.commonevent' + +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + function PublishCallBackOne() { console.debug("====>Publish CallBack ACTS_StartAbility_0100_CommonEvent====>"); } @@ -49,4 +53,4 @@ export default { }, onReady() { }, -} \ No newline at end of file +} diff --git a/aafwk/aafwk_standard/featureability/sceneproject/startabilityforresult/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/featureability/sceneproject/startabilityforresult/src/main/js/default/pages/index/index.js index 182c1f12c..2f21ed8c1 100644 --- a/aafwk/aafwk_standard/featureability/sceneproject/startabilityforresult/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/featureability/sceneproject/startabilityforresult/src/main/js/default/pages/index/index.js @@ -15,6 +15,9 @@ import commonEvent from '@ohos.commonevent' import featureAbility from '@ohos.ability.featureAbility' +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + function PublishCallBackone() { console.debug("====>Publish CallBack ACTS_StartAbilityForResult_0100_CommonEvent====>"); } @@ -62,4 +65,4 @@ export default { }, onReady() { }, -} \ No newline at end of file +} diff --git a/aafwk/aafwk_standard/featureability/sceneproject/terminateabilitytest/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/featureability/sceneproject/terminateabilitytest/src/main/js/default/pages/index/index.js index 53469fe7f..15dee84f7 100644 --- a/aafwk/aafwk_standard/featureability/sceneproject/terminateabilitytest/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/featureability/sceneproject/terminateabilitytest/src/main/js/default/pages/index/index.js @@ -15,6 +15,10 @@ import commonEvent from '@ohos.commonevent' import featureAbility from '@ohos.ability.featureAbility' + +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + function PublishCallBackOne() { console.debug("====>Publish CallBack ACTS_TerminateAbility_0100_CommonEvent====>"); } @@ -47,4 +51,4 @@ export default { }, onReady() { }, -} \ No newline at end of file +} diff --git a/aafwk/aafwk_standard/want/actsgetwantalltest/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/want/actsgetwantalltest/entry/src/main/js/default/pages/index/index.js index 2cc34ee79..81cee62d9 100644 --- a/aafwk/aafwk_standard/want/actsgetwantalltest/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/want/actsgetwantalltest/entry/src/main/js/default/pages/index/index.js @@ -18,6 +18,9 @@ import device from '@system.device' import router from '@system.router' import {Core, ExpectExtend, ReportExtend} from 'deccjsunit/index' +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" diff --git a/aafwk/aafwk_standard/want/actssetwanttest/entry/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/want/actssetwanttest/entry/src/main/js/default/pages/index/index.js index 2cc34ee79..81cee62d9 100755 --- a/aafwk/aafwk_standard/want/actssetwanttest/entry/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/want/actssetwanttest/entry/src/main/js/default/pages/index/index.js @@ -18,6 +18,9 @@ import device from '@system.device' import router from '@system.router' import {Core, ExpectExtend, ReportExtend} from 'deccjsunit/index' +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" diff --git a/aafwk/aafwk_standard/want/sceneProject/actsgetwantalltesthap/src/main/js/default/pages/index/index.js b/aafwk/aafwk_standard/want/sceneProject/actsgetwantalltesthap/src/main/js/default/pages/index/index.js index 1d31fad60..51ddda8ee 100644 --- a/aafwk/aafwk_standard/want/sceneProject/actsgetwantalltesthap/src/main/js/default/pages/index/index.js +++ b/aafwk/aafwk_standard/want/sceneProject/actsgetwantalltesthap/src/main/js/default/pages/index/index.js @@ -15,6 +15,9 @@ import commonEvent from '@ohos.commonevent' import featureAbility from '@ohos.ability.featureability' +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "预置" diff --git a/appexecfwk/bundle_standard/bundlemanager/actsbundlemanagertest/entry/src/main/js/default/pages/index/index.js b/appexecfwk/bundle_standard/bundlemanager/actsbundlemanagertest/entry/src/main/js/default/pages/index/index.js index 9c01620a4..3938f91f9 100644 --- a/appexecfwk/bundle_standard/bundlemanager/actsbundlemanagertest/entry/src/main/js/default/pages/index/index.js +++ b/appexecfwk/bundle_standard/bundlemanager/actsbundlemanagertest/entry/src/main/js/default/pages/index/index.js @@ -15,6 +15,9 @@ import file from '@system.file' import {Core, ExpectExtend, ReportExtend} from 'deccjsunit/index' +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" @@ -40,4 +43,4 @@ export default { }, onReady() { }, -} \ No newline at end of file +} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/js/default/pages/index/index.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/js/default/pages/index/index.js index dd3501fe5..23ac44c8d 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/js/default/pages/index/index.js +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneeight/src/main/js/default/pages/index/index.js @@ -12,6 +12,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenefive/src/main/js/default/pages/index/index.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenefive/src/main/js/default/pages/index/index.js index dd3501fe5..23ac44c8d 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenefive/src/main/js/default/pages/index/index.js +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenefive/src/main/js/default/pages/index/index.js @@ -12,6 +12,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenefour/src/main/js/default/pages/index/index.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenefour/src/main/js/default/pages/index/index.js index dd3501fe5..23ac44c8d 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenefour/src/main/js/default/pages/index/index.js +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenefour/src/main/js/default/pages/index/index.js @@ -12,6 +12,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/js/default/pages/index/index.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/js/default/pages/index/index.js index 68f3a99de..dc4e2997c 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/js/default/pages/index/index.js +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenenine/src/main/js/default/pages/index/index.js @@ -12,6 +12,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "publish_event0100" @@ -19,4 +22,4 @@ export default { onInit() { this.title = this.data.title; }, -} \ No newline at end of file +} diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneone/src/main/js/default/pages/index/index.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneone/src/main/js/default/pages/index/index.js index dd3501fe5..23ac44c8d 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneone/src/main/js/default/pages/index/index.js +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneone/src/main/js/default/pages/index/index.js @@ -12,6 +12,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/js/default/pages/index/index.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/js/default/pages/index/index.js index dd3501fe5..23ac44c8d 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/js/default/pages/index/index.js +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/js/default/pages/index/index.js @@ -12,6 +12,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenesix/src/main/js/default/pages/index/index.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenesix/src/main/js/default/pages/index/index.js index dd3501fe5..23ac44c8d 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenesix/src/main/js/default/pages/index/index.js +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenesix/src/main/js/default/pages/index/index.js @@ -12,6 +12,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenethree/src/main/js/default/pages/index/index.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenethree/src/main/js/default/pages/index/index.js index ce2bdb226..d8271ce02 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenethree/src/main/js/default/pages/index/index.js +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenethree/src/main/js/default/pages/index/index.js @@ -12,6 +12,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenetwo/src/main/js/default/pages/index/index.js b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenetwo/src/main/js/default/pages/index/index.js index dd3501fe5..23ac44c8d 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenetwo/src/main/js/default/pages/index/index.js +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenetwo/src/main/js/default/pages/index/index.js @@ -12,6 +12,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" diff --git a/notification/ces_standard/subscribeandpublish/actssubscriberorderedtest/entry/src/main/js/default/pages/index/index.js b/notification/ces_standard/subscribeandpublish/actssubscriberorderedtest/entry/src/main/js/default/pages/index/index.js index e2cc4a0ca..406c3b309 100644 --- a/notification/ces_standard/subscribeandpublish/actssubscriberorderedtest/entry/src/main/js/default/pages/index/index.js +++ b/notification/ces_standard/subscribeandpublish/actssubscriberorderedtest/entry/src/main/js/default/pages/index/index.js @@ -15,6 +15,9 @@ import file from '@system.file' import {Core, ExpectExtend, ReportExtend} from 'deccjsunit/index' +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" diff --git a/notification/ces_standard/subscribeandpublish/actssubscriberunordertest/entry/src/main/js/default/pages/index/index.js b/notification/ces_standard/subscribeandpublish/actssubscriberunordertest/entry/src/main/js/default/pages/index/index.js index 6f07871a0..848149b45 100644 --- a/notification/ces_standard/subscribeandpublish/actssubscriberunordertest/entry/src/main/js/default/pages/index/index.js +++ b/notification/ces_standard/subscribeandpublish/actssubscriberunordertest/entry/src/main/js/default/pages/index/index.js @@ -15,6 +15,9 @@ import file from '@system.file' import {Core, ExpectExtend, ReportExtend} from 'deccjsunit/index' +const injectRef = Object.getPrototypeOf(global) || global +injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') + export default { data: { title: "" -- GitLab