!282 fix wrong order

Merge pull request !282 from zhanghaibo/master
This commit is contained in:
openharmony_ci 2021-10-19 13:19:24 +00:00 committed by Gitee
commit 9216b8d8b7

View File

@ -1981,14 +1981,14 @@ JSValue JsHandleModule(std::string moduleName, std::string methodName, JSContext
[](JSContext* ctx, JSValueConst value, JSValueConst* argv, const std::string& methodName) {
return JsHandleAnimationFrame(ctx, argv[1], methodName);
} },
{ "ohos.animator",
[](JSContext* ctx, JSValueConst value, JSValueConst* argv, const std::string& methodName) {
return JsHandleAnimator(ctx, argv[1], methodName);
} },
{ "internal.jsResult",
[](JSContext* ctx, JSValueConst value, JSValueConst* argv, const std::string& methodName) {
return JsHandleCallback(ctx, argv[1], methodName);
} },
{ "ohos.animator",
[](JSContext* ctx, JSValueConst value, JSValueConst* argv, const std::string& methodName) {
return JsHandleAnimator(ctx, argv[1], methodName);
} },
{ "system.app",
[](JSContext* ctx, JSValueConst value, JSValueConst* argv, const std::string& methodName) {
return JsHandleAppApi(ctx, argv[1], methodName);