You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by da...@apache.org on 2017/07/24 12:37:01 UTC

[09/50] incubator-weex git commit: * [html5] update function interface formate

* [html5] update function interface formate


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/646ce6ba
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/646ce6ba
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/646ce6ba

Branch: refs/heads/0.16-dev
Commit: 646ce6babfdc2325b4874092c2596b998468bfb1
Parents: 8527a0e
Author: erha19 <fa...@gmail.com>
Authored: Tue Jul 18 15:16:58 2017 +0800
Committer: erha19 <fa...@gmail.com>
Committed: Tue Jul 18 15:16:58 2017 +0800

----------------------------------------------------------------------
 html5/render/vue/utils/func.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/646ce6ba/html5/render/vue/utils/func.js
----------------------------------------------------------------------
diff --git a/html5/render/vue/utils/func.js b/html5/render/vue/utils/func.js
index 386a932..bfea8df 100644
--- a/html5/render/vue/utils/func.js
+++ b/html5/render/vue/utils/func.js
@@ -133,7 +133,7 @@ export function throttle (func: Function, wait: number, callLastTime: boolean) {
   let last = 0
   let lastTimer = null
   const lastTimeDuration = wait + (wait > 25 ? wait : 25) // plus half wait time.
-  return function (...args: Array < mixed >) {
+  return function (...args: Array <mixed>) {
     const context = this
     const time = new Date().getTime()
     if (time - last > wait) {