jquery-timeago icon indicating copy to clipboard operation
jquery-timeago copied to clipboard

setInterval will clear itself when element is removed from the DOM

Open scotthovestadt opened this issue 13 years ago • 1 comments
trafficstars

My use-case is an activity feed with only 5 items. However, over the lifetime of the web application, thousands of items pass through the feed.

It was not ideal to have thousands of setInterval calls fire each minute.

scotthovestadt avatar Nov 15 '12 19:11 scotthovestadt

Any word on this issue? Single page apps are becoming more common and timeago needs the ability to remove itself.

rupurt avatar Sep 25 '13 19:09 rupurt