* [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 <[email protected]> Authored: Tue Jul 18 15:16:58 2017 +0800 Committer: erha19 <[email protected]> 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) {
