2 ms·
A workaround that I like a little more: http://javascriptisawesome.blogspot.com/2011/11/setinterval-with-context.html http://javascriptisawesome.blogspot.com/20
by jQueryIsAwesome 14y ago
A workaround that I like a little more: http://javascriptisawesome.blogspot.com/2011/11/setinterval-with-context.html http://javascriptisawesome.blogspot.com/2011/11/setinterval-...
- cwmma 14y agoThere are totally a bunch of workarounds, it's just another exception to this, I was using CoffeeScript so I was able to grossly simplify the MDN one https://github.com/calvinmetcalf/communist/blob/master/src/socialist.coffee#L9-L16 https://github.com/calvinmetcalf/communist/blob/master/src/s...