6.3.1 - 新增发布通知权限 / WS 实例创建; 修复 floaty 模块异常 / 安卓 7.x 异常; UI 模式增强; 迁移至 View Binding

This commit is contained in:
SuperMonster003
2023-05-26 20:58:38 +08:00
parent 31ebd5b854
commit 1755ae3271
511 changed files with 12567 additions and 11063 deletions

View File

@@ -65,11 +65,11 @@ module.exports = function (scriptRuntime, scope) {
__asGlobal__(scriptRuntime.timers, methods, scope);
Object.assign(scope, {
/**
* @global
*/
/** @global */
loop() {
return scriptRuntime.console.warn('Method loop() is deprecated and has no effect.');
// @Abandoned by SuperMonster003 as of May 3, 2023.
// scriptRuntime.console.warn('Method loop() is deprecated and has no effect.');
throw Error(context.getString(R.strings.error_abandoned_method, 'global.loop'));
},
});
},