<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Javascript timer &#8211; advanced features, simple to use</title>
	<atom:link href="http://abcoder.com/javascript/core_javascript/javascript_timer/feed/" rel="self" type="application/rss+xml" />
	<link>http://abcoder.com/javascript/core_javascript/javascript_timer/</link>
	<description>ABCoder - Coding is Simple as A b c</description>
	<lastBuildDate>Sun, 29 Aug 2010 15:49:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: zp bappi</title>
		<link>http://abcoder.com/javascript/core_javascript/javascript_timer/comment-page-1/#comment-6655</link>
		<dc:creator>zp bappi</dc:creator>
		<pubDate>Tue, 04 May 2010 11:16:21 +0000</pubDate>
		<guid isPermaLink="false">http://abcoder.com/?p=9#comment-6655</guid>
		<description>@darck: i believe you want the start method to work as resume if the timer is paused. right? well, thats what i did. please check the api page (links at the bottom of the post) for start method. it says, &quot;Starts the timer initially or if it was stopped. If timer was paused, start work as resume.&quot;
hope that helps. :)</description>
		<content:encoded><![CDATA[<p>@darck: i believe you want the start method to work as resume if the timer is paused. right? well, thats what i did. please check the api page (links at the bottom of the post) for start method. it says, &#8220;Starts the timer initially or if it was stopped. If timer was paused, start work as resume.&#8221;<br />
hope that helps. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: darck</title>
		<link>http://abcoder.com/javascript/core_javascript/javascript_timer/comment-page-1/#comment-6654</link>
		<dc:creator>darck</dc:creator>
		<pubDate>Mon, 03 May 2010 08:05:05 +0000</pubDate>
		<guid isPermaLink="false">http://abcoder.com/?p=9#comment-6654</guid>
		<description>1)
var timer = new Timer();
timer.interval(10000)
.addCallback(clock)
.start()
.stop();

timer.start();

should work exactly same as:

2)
var timer = new Timer();
timer.interval(10000)
.addCallback(clock)
.start();

timer.restart();

and different than:

3)
var timer = new Timer();
timer.interval(10000)
.addCallback(clock)
.start()
.pause();

timer.start();

1) and 2) should restart timer counter before starting countdown again, but 3) should only pause counter and resume it when invoked start() again.</description>
		<content:encoded><![CDATA[<p>1)<br />
var timer = new Timer();<br />
timer.interval(10000)<br />
.addCallback(clock)<br />
.start()<br />
.stop();</p>
<p>timer.start();</p>
<p>should work exactly same as:</p>
<p>2)<br />
var timer = new Timer();<br />
timer.interval(10000)<br />
.addCallback(clock)<br />
.start();</p>
<p>timer.restart();</p>
<p>and different than:</p>
<p>3)<br />
var timer = new Timer();<br />
timer.interval(10000)<br />
.addCallback(clock)<br />
.start()<br />
.pause();</p>
<p>timer.start();</p>
<p>1) and 2) should restart timer counter before starting countdown again, but 3) should only pause counter and resume it when invoked start() again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zp bappi</title>
		<link>http://abcoder.com/javascript/core_javascript/javascript_timer/comment-page-1/#comment-6653</link>
		<dc:creator>zp bappi</dc:creator>
		<pubDate>Fri, 30 Apr 2010 17:55:29 +0000</pubDate>
		<guid isPermaLink="false">http://abcoder.com/?p=9#comment-6653</guid>
		<description>@darck: sorry, i am not familiar with delphi&#039;s timer. and, when you start/stop a timer, it should not remember where it was paused. that&#039;s true to the most of the people. please explain why it shouldn&#039;t be altered. (with some test case, if needed)

@ricardo verhaeg: thanks for your suggestion. i have many other things too for the next version. but, i am not getting enough free time to complete it. i will do it soon i hope and will post a link here.</description>
		<content:encoded><![CDATA[<p>@darck: sorry, i am not familiar with delphi&#8217;s timer. and, when you start/stop a timer, it should not remember where it was paused. that&#8217;s true to the most of the people. please explain why it shouldn&#8217;t be altered. (with some test case, if needed)</p>
<p>@ricardo verhaeg: thanks for your suggestion. i have many other things too for the next version. but, i am not getting enough free time to complete it. i will do it soon i hope and will post a link here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ricardo Verhaeg</title>
		<link>http://abcoder.com/javascript/core_javascript/javascript_timer/comment-page-1/#comment-6561</link>
		<dc:creator>Ricardo Verhaeg</dc:creator>
		<pubDate>Mon, 19 Apr 2010 19:16:40 +0000</pubDate>
		<guid isPermaLink="false">http://abcoder.com/?p=9#comment-6561</guid>
		<description>One suggestion is: you could pass a third parameter or even an optional second (with type check) to match the &quot;runOnce&quot;, why is that?
A - Perhaps I want to keep the clcok running but only check my mail once (in the given example) so I&#039;ld put something like:

var timer = new Timer();
timer.interval(1000)
.addCallback(clock)
.addCallback(checkMail,10,true)
.start();

or:

var timer = new Timer();
timer.interval(1000)
.addCallback(clock)
.addCallback(somethingInOneSecond,true)
.start();

But well I&#039;m really impressed of the fact that you made it with parallel! I was really trying to find that out! thanks!</description>
		<content:encoded><![CDATA[<p>One suggestion is: you could pass a third parameter or even an optional second (with type check) to match the &#8220;runOnce&#8221;, why is that?<br />
A &#8211; Perhaps I want to keep the clcok running but only check my mail once (in the given example) so I&#8217;ld put something like:</p>
<p>var timer = new Timer();<br />
timer.interval(1000)<br />
.addCallback(clock)<br />
.addCallback(checkMail,10,true)<br />
.start();</p>
<p>or:</p>
<p>var timer = new Timer();<br />
timer.interval(1000)<br />
.addCallback(clock)<br />
.addCallback(somethingInOneSecond,true)<br />
.start();</p>
<p>But well I&#8217;m really impressed of the fact that you made it with parallel! I was really trying to find that out! thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: darck</title>
		<link>http://abcoder.com/javascript/core_javascript/javascript_timer/comment-page-1/#comment-5445</link>
		<dc:creator>darck</dc:creator>
		<pubDate>Fri, 26 Feb 2010 10:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://abcoder.com/?p=9#comment-5445</guid>
		<description>In my opinion start and stop shouldn&#039;t alter paused state of timer. In borland delphi&#039;s timer is option enabled. Maybe you can change pause functionality or add enabled state. It works simply as pause - timer doesn&#039;t count ticks and enabled property is not related with any other method.</description>
		<content:encoded><![CDATA[<p>In my opinion start and stop shouldn&#8217;t alter paused state of timer. In borland delphi&#8217;s timer is option enabled. Maybe you can change pause functionality or add enabled state. It works simply as pause &#8211; timer doesn&#8217;t count ticks and enabled property is not related with any other method.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kelly Brown</title>
		<link>http://abcoder.com/javascript/core_javascript/javascript_timer/comment-page-1/#comment-1317</link>
		<dc:creator>Kelly Brown</dc:creator>
		<pubDate>Fri, 12 Jun 2009 19:08:56 +0000</pubDate>
		<guid isPermaLink="false">http://abcoder.com/?p=9#comment-1317</guid>
		<description>The best information i have found exactly here. Keep going Thank you</description>
		<content:encoded><![CDATA[<p>The best information i have found exactly here. Keep going Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KrisBelucci</title>
		<link>http://abcoder.com/javascript/core_javascript/javascript_timer/comment-page-1/#comment-1203</link>
		<dc:creator>KrisBelucci</dc:creator>
		<pubDate>Tue, 02 Jun 2009 18:20:34 +0000</pubDate>
		<guid isPermaLink="false">http://abcoder.com/?p=9#comment-1203</guid>
		<description>The article on antibiotics are very good.</description>
		<content:encoded><![CDATA[<p>The article on antibiotics are very good.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: viagra</title>
		<link>http://abcoder.com/javascript/core_javascript/javascript_timer/comment-page-1/#comment-179</link>
		<dc:creator>viagra</dc:creator>
		<pubDate>Mon, 06 Apr 2009 00:12:21 +0000</pubDate>
		<guid isPermaLink="false">http://abcoder.com/?p=9#comment-179</guid>
		<description>Great site. Good info 
&lt;a title=&quot;buy cheap viagra &quot; href=&quot;http://groups.adobe.com/people/79abcec382&quot; rel=&quot;nofollow&quot;&gt; viagra&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Great site. Good info<br />
<a title="buy cheap viagra " href="http://groups.adobe.com/people/79abcec382" rel="nofollow"> viagra</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zp bappi</title>
		<link>http://abcoder.com/javascript/core_javascript/javascript_timer/comment-page-1/#comment-51</link>
		<dc:creator>zp bappi</dc:creator>
		<pubDate>Fri, 24 Oct 2008 12:58:12 +0000</pubDate>
		<guid isPermaLink="false">http://abcoder.com/?p=9#comment-51</guid>
		<description>@Eric Shepherd
i moved the initialization codes into a method &quot;_init()&quot; just to keep the default constructor clean. there&#039;s no harm if i put the codes in &quot;var Timer = function(millis, callback){...}&quot;.

thanks for trying it differently. let me know if there is any improvement i can do, or anything you came up with.

zp bappi.</description>
		<content:encoded><![CDATA[<p>@Eric Shepherd<br />
i moved the initialization codes into a method &#8220;_init()&#8221; just to keep the default constructor clean. there&#8217;s no harm if i put the codes in &#8220;var Timer = function(millis, callback){&#8230;}&#8221;.</p>
<p>thanks for trying it differently. let me know if there is any improvement i can do, or anything you came up with.</p>
<p>zp bappi.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Shepherd</title>
		<link>http://abcoder.com/javascript/core_javascript/javascript_timer/comment-page-1/#comment-50</link>
		<dc:creator>Eric Shepherd</dc:creator>
		<pubDate>Thu, 23 Oct 2008 15:26:40 +0000</pubDate>
		<guid isPermaLink="false">http://abcoder.com/?p=9#comment-50</guid>
		<description>Nice work! This is exactly what I was looking for. I&#039;m curious about one thing, though - why did you remove the constructor into the instances with the init() function? I moved it back into the constructor and nothing seems to break. 

Thanks!</description>
		<content:encoded><![CDATA[<p>Nice work! This is exactly what I was looking for. I&#8217;m curious about one thing, though &#8211; why did you remove the constructor into the instances with the init() function? I moved it back into the constructor and nothing seems to break. </p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
