tmax

Results 21 comments of tmax

On the server side, `aggregate` will work, but not available on the client. see [meteor-aggregate](https://github.com/meteorhacks/meteor-aggregate)

So do I, any ideas?

I find out one solution: putting a simple table that only contains thead above the data table, customize the thead of the above table, done~

> 我觉得在延迟执行时,应该计算剩余时间,在剩余时间后执行。这样能实现如果频繁调用的话,每个 threshhold 时间点都会执行一次。 > > 否则如果每次都延迟 threshhold 时间执行,有可能会出现两次执行间隔接近 2*threshhold,延迟太久了。 > > ```js > function throttle(fn, threshhold) { > let timer, last > > return function() { > const context...

如果使用 redux 模式,会不会很繁琐

因为代码跟 wx 小程序环境深度绑定的,H5 直接用 [html2canvas](https://github.com/niklasvh/html2canvas) 就好了,不过需要注意图片跨域之类的问题

什么时候武汉也能有Node.js招聘岗位咧~