This Class allows you to create a site observer that fires a callback when a certain time has passed. This is usful for applications that need to fire reminders.
Usage is fairly simple -
var to = new TimeObserver; var time = 6000 + +new Date(); to.addTime(time,function(){ alert('time is near!'); }); to.start();
For more info read the docs
A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.
Found a bug in this plugin? Please report it this repository's Github Issues.
blog comments powered by Disqus