You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by do...@apache.org on 2019/07/18 12:33:34 UTC

[incubator-weex] branch master updated: [Android] fix timeout args get and fix js microtask Timing (#2729)

This is an automated email from the ASF dual-hosted git repository.

dongyayun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-weex.git


The following commit(s) were added to refs/heads/master by this push:
     new 72c51f0  [Android] fix timeout args get and fix js microtask Timing (#2729)
72c51f0 is described below

commit 72c51f0763e24c9753d2935009da768e63ecf1ca
Author: chen <lu...@users.noreply.github.com>
AuthorDate: Thu Jul 18 20:33:28 2019 +0800

    [Android] fix timeout args get and fix js microtask Timing (#2729)
---
 weex_core/Source/js_runtime/weex/binding/weex_global_binding.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/weex_core/Source/js_runtime/weex/binding/weex_global_binding.cpp b/weex_core/Source/js_runtime/weex/binding/weex_global_binding.cpp
index a990c6d..d2deb8d 100644
--- a/weex_core/Source/js_runtime/weex/binding/weex_global_binding.cpp
+++ b/weex_core/Source/js_runtime/weex/binding/weex_global_binding.cpp
@@ -534,7 +534,7 @@ namespace weex {
             std::string time_str;
 
             WeexConversionUtils::GetStringFromArgsDefaultEmpty(vars, 0, callback_str);
-            WeexConversionUtils::GetStringFromArgsDefaultEmpty(vars, 0, time_str);
+            WeexConversionUtils::GetStringFromArgsDefaultEmpty(vars, 1, time_str);
 
             LOG_WEEX_BINDING("WeexGlobalBinding method :setTimeoutNative ,callback:%s, time:%d",
                              callback_str.c_str(),