window resize的时候禁止频繁触发事件

$(window).resize(function(){
var value=+new Date;
assistantForSyncTask.execute(value);
assistantForAsyncTask.execute(value);
});

原文地址:https://www.cnblogs.com/tzz-ing/p/5220861.html