Remove some format rule (#10919)

* remove some rules
* format all codes with new format rule
This commit is contained in:
minggo
2022-05-04 13:09:24 +08:00
committed by GitHub
parent e9a4bdd4dc
commit 271cc5cf23
1148 changed files with 32411 additions and 34416 deletions
+2 -2
View File
@@ -46,7 +46,7 @@ void getTextInputCallback() {
return;
}
auto * global = se::ScriptEngine::getInstance()->getGlobalObject();
auto *global = se::ScriptEngine::getInstance()->getGlobalObject();
se::Value jsbVal;
if (global->getProperty("jsb", &jsbVal) && jsbVal.isObject()) {
jsbVal.toObject()->getProperty("onTextInput", &textInputCallback);
@@ -61,7 +61,7 @@ void callJSFunc(const ccstd::string &type, const ccstd::string &text) {
getTextInputCallback();
se::AutoHandleScope scope;
se::ValueArray args;
se::ValueArray args;
args.push_back(se::Value(type));
args.push_back(se::Value(text));
textInputCallback.toObject()->call(args, nullptr);