<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>JavascriptKata - Latest Comments</title><link>http://javascriptkata.disqus.com/</link><description></description><atom:link href="https://javascriptkata.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 19 Sep 2018 09:29:37 -0000</lastBuildDate><item><title>Re: How to use the self with object-oriented javascript and closures</title><link>http://www.javascriptkata.com/2007/05/14/how-to-use-the-self-with-object-oriented-javascript-and-closures/#comment-4103489978</link><description>&lt;p&gt;&amp;gt; "when using closures within an object, the this in the called function (in the above example, in the meow() function) is the window object."&lt;/p&gt;&lt;p&gt;That doesn't seem to make sense. If the "this" in the meow() function were the window object, 'this.theCatName' would be undefined.&lt;br&gt;Maybe you meant that the 'this' in the *anonymous* function is the window object?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lars</dc:creator><pubDate>Wed, 19 Sep 2018 09:29:37 -0000</pubDate></item><item><title>Re: How to execute javascript code directly in your browser</title><link>http://www.javascriptkata.com/2007/05/01/execute-javascript-code-directly-in-your-browser/#comment-2595505725</link><description>&lt;p&gt;LOOK GREAT////////////MAKE MONEY/////////////HAVE FUN&lt;br&gt;join us&lt;/p&gt;&lt;p&gt;Working strategy:&lt;/p&gt;&lt;p&gt;ORIFLAME PAKISTAN:&lt;/p&gt;&lt;p&gt;===================&lt;/p&gt;&lt;p&gt;Let grow together...........come to join us SIGNATURES TEAM. Career program for the newbies. you can easily can develop your career/Future. life will be splendid or recited. spend yours little time and get secure life forever.&lt;/p&gt;&lt;p&gt;so many facilities you get from the company's platform,&lt;/p&gt;&lt;p&gt;WE WILL TEACH AND GUIDE YOU THE WAYS OF MAKING MONEY FAST WITH TECHNICALLY TIPS.&lt;/p&gt;&lt;p&gt;YOU WILL ABLE TO EARN PER MONTH 100000 WITH IN A YEAR.&lt;/p&gt;&lt;p&gt;STEP BY STEP TITLES AND DESIGNATION WILL RISE&amp;amp;SHINE INCOME AUTOMATICALLY WILL GROW AGAIN AND AGAIN&lt;/p&gt;&lt;p&gt;Syed shan naqvi&lt;/p&gt;&lt;p&gt;Oriflame Pakistan&lt;/p&gt;&lt;p&gt;Signatures Team&lt;/p&gt;&lt;p&gt;03082995744&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">syedonlinew</dc:creator><pubDate>Tue, 29 Mar 2016 16:07:00 -0000</pubDate></item><item><title>Re: How to execute javascript code directly in your browser</title><link>http://www.javascriptkata.com/2007/05/01/execute-javascript-code-directly-in-your-browser/#comment-2595505319</link><description>&lt;p&gt;LOOK GREAT////////////MAKE MONEY/////////////HAVE FUN&lt;/p&gt;&lt;p&gt;Working strategy:&lt;/p&gt;&lt;p&gt;ORIFLAME PAKISTAN:&lt;/p&gt;&lt;p&gt;===================&lt;/p&gt;&lt;p&gt;Let grow together...........come to join us SIGNATURES TEAM. Career program for the newbies. you can easily can develop your career/Future. life will be splendid or recited. spend yours little time and get secure life forever.&lt;/p&gt;&lt;p&gt;so many facilities you get from the company's platform,&lt;/p&gt;&lt;p&gt;WE WILL TEACH AND GUIDE YOU THE WAYS OF MAKING MONEY FAST WITH TECHNICALLY TIPS.&lt;/p&gt;&lt;p&gt;YOU WILL ABLE TO EARN PER MONTH 100000 WITH IN A YEAR.&lt;/p&gt;&lt;p&gt;STEP BY STEP TITLES AND DESIGNATION WILL RISE&amp;amp;SHINE INCOME AUTOMATICALLY WILL GROW AGAIN AND AGAIN&lt;/p&gt;&lt;p&gt;Syed shan naqvi&lt;/p&gt;&lt;p&gt;Oriflame Pakistan&lt;/p&gt;&lt;p&gt;Signatures Team&lt;/p&gt;&lt;p&gt;03082995744&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">syedonlinew</dc:creator><pubDate>Tue, 29 Mar 2016 16:06:48 -0000</pubDate></item><item><title>Re: How to execute javascript code directly in your browser</title><link>http://www.javascriptkata.com/2007/05/01/execute-javascript-code-directly-in-your-browser/#comment-2595503655</link><description>&lt;p&gt;java scrpt is the wau of making fool to peoples does not matter to make the website its is the aste of time we should never recognized that the way of money is too hard you should have to making value of money not to nonsense of grammer artical&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">syedonlinew</dc:creator><pubDate>Tue, 29 Mar 2016 16:05:56 -0000</pubDate></item><item><title>Re: Self-invoking functions explained line by line</title><link>http://www.javascriptkata.com/2011/08/22/self-invoking-functions-explained-line-by-line/#comment-2169692733</link><description>&lt;p&gt;&lt;code&gt;;(function () {&lt;br&gt;      console.log('do not fear semi-colons')&lt;br&gt; }())&lt;/code&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">KingKong</dc:creator><pubDate>Sat, 01 Aug 2015 19:17:14 -0000</pubDate></item><item><title>Re: How to execute javascript code directly in your browser</title><link>http://www.javascriptkata.com/2007/05/01/execute-javascript-code-directly-in-your-browser/#comment-2119035915</link><description>&lt;p&gt;but when my javascript is for refreshing the page? how can I run that script repeatedly?.... (Because while refreshing the javascript is "gone")&lt;/p&gt;&lt;p&gt;setTimeout(function(){&lt;/p&gt;&lt;p&gt;   window.location.reload(1);&lt;/p&gt;&lt;p&gt;}, 1000);&lt;/p&gt;&lt;p&gt;/* Reloading page with 1 second of delay */&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Siegfried Keller</dc:creator><pubDate>Mon, 06 Jul 2015 03:23:14 -0000</pubDate></item><item><title>Re: Ask Dan : Procedural VS object-oriented in javascript</title><link>http://www.javascriptkata.com/2007/06/06/ask-dan-procedural-vs-object-oriented-in-javascript/#comment-1896348030</link><description>&lt;p&gt;This is not a good example of why oo is better than procedural.&lt;br&gt;The procedural example above is not how I would write procedural.&lt;br&gt;Bad code is caused by bad code organisation, not whether its oo or procedural.&lt;br&gt;I would organise my procedural code in its own block, wrapped in it's own namespace so you could access it like:&lt;br&gt;myModule.doSomething()&lt;br&gt;myModule.model.globalVar = ''&lt;br&gt;etc&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">javascriptexplorer</dc:creator><pubDate>Mon, 09 Mar 2015 07:32:40 -0000</pubDate></item><item><title>Re: How to write constants in javascript</title><link>http://www.javascriptkata.com/2007/03/28/how-to-write-constants-in-javascript/#comment-1624197081</link><description>&lt;p&gt;Actually, you can with insulate.js. Disklamer, i did make the thing. But it does make constants and more... &lt;a href="http://beckafly.github.io/insulatejs" rel="nofollow noopener" target="_blank" title="http://beckafly.github.io/insulatejs"&gt;http://beckafly.github.io/i...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Beckafly</dc:creator><pubDate>Tue, 07 Oct 2014 16:55:02 -0000</pubDate></item><item><title>Re: How to use javascript hashes (or hash-table)</title><link>http://www.javascriptkata.com/2007/03/29/how-to-use-javascript-hashes/#comment-1399332506</link><description>&lt;p&gt;Great one, helped me a lot. I just felt rising anger using an array with two slots working (not properly) as a dictionary, but then I read this and the implementation did not involve any anger. This made coding in JS almost something like "fun". :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mirko</dc:creator><pubDate>Thu, 22 May 2014 09:22:09 -0000</pubDate></item><item><title>Re: How to execute javascript code directly in your browser</title><link>http://www.javascriptkata.com/2007/05/01/execute-javascript-code-directly-in-your-browser/#comment-1386628987</link><description>&lt;p&gt;&amp;lt;script&amp;gt;(function(){ var x; for( x=0; x &amp;lt; 1; x++){alert(x);} })();&amp;lt;/script&amp;gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kqery</dc:creator><pubDate>Thu, 15 May 2014 04:54:58 -0000</pubDate></item><item><title>Re: How to use the self with object-oriented javascript and closures</title><link>http://www.javascriptkata.com/2007/05/14/how-to-use-the-self-with-object-oriented-javascript-and-closures/#comment-1119961293</link><description>&lt;p&gt;Your explanation is the easiest,simplest, and most forward one I 've seen&lt;br&gt;Thank you&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">omar salem</dc:creator><pubDate>Tue, 12 Nov 2013 13:27:48 -0000</pubDate></item><item><title>Re: Do not use the innerHTML property on HTML objects</title><link>http://www.javascriptkata.com/2007/04/17/do-not-use-the-innerhtml-property-on-html-objects/#comment-1076249804</link><description>&lt;p&gt;I do what i want&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">woot</dc:creator><pubDate>Wed, 09 Oct 2013 09:35:18 -0000</pubDate></item><item><title>Re: How to use anonymous objects</title><link>http://www.javascriptkata.com/2007/03/22/how-to-use-anonymous-objects/#comment-1045213227</link><description>&lt;p&gt;node.js would be nothing without these:)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Spencer Killen</dc:creator><pubDate>Sun, 15 Sep 2013 01:07:54 -0000</pubDate></item><item><title>Re: Stop Javascript,  use Coffeescript</title><link>http://www.javascriptkata.com/2012/05/22/stop-javascript-use-coffeescript/#comment-1018137545</link><description>&lt;p&gt;Ok, I'm slowly coming around to coffeescript. It's not the devil, and many people find advantages in it.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">waltersear</dc:creator><pubDate>Mon, 26 Aug 2013 13:20:49 -0000</pubDate></item><item><title>Re: Ask Dan a javascript question : first edition</title><link>http://www.javascriptkata.com/2007/06/01/ask-dan-a-javascript-question-first-edition/#comment-772261498</link><description>&lt;p&gt;this seems like a great feature. i'll have to check it out. thanks!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">EllenOr</dc:creator><pubDate>Fri, 18 Jan 2013 21:05:40 -0000</pubDate></item><item><title>Re: Two google-like jquery calendars</title><link>http://www.javascriptkata.com/2010/03/15/two-google-like-jquery-calendars/#comment-763759078</link><description>&lt;p&gt;Those are good examples of event calendar, and here is another one:&lt;br&gt;&lt;a href="http://dhtmlx.com/docs/products/dhtmlxScheduler/index.shtml" rel="nofollow noopener" target="_blank" title="http://dhtmlx.com/docs/products/dhtmlxScheduler/index.shtml"&gt;http://dhtmlx.com/docs/prod...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;It's a framework-agnostic calendar so can be used with jQuery. It has a mature feature set but requires paid license for non-GPL projects.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Inga</dc:creator><pubDate>Fri, 11 Jan 2013 10:22:46 -0000</pubDate></item><item><title>Re: How to execute javascript code directly in your browser</title><link>http://www.javascriptkata.com/2007/05/01/execute-javascript-code-directly-in-your-browser/#comment-746211794</link><description>&lt;p&gt;With a Loop! if you want something repeated 10 times&lt;/p&gt;&lt;p&gt;for( var i = 0 ; i &amp;lt; 10 ; i++ ){&lt;/p&gt;&lt;p&gt;      //Code To Execute here&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;var i is started at 0,&lt;br&gt;then the condition of the loop is. "A long as the value of i is less than 10",&lt;br&gt;i++ means the value of i is incremented by one each time the loop is executed&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Carlos Mathers</dc:creator><pubDate>Sun, 23 Dec 2012 13:44:30 -0000</pubDate></item><item><title>Re: Do not use the alert function in javascript</title><link>http://www.javascriptkata.com/2007/05/16/do-not-use-the-alert-function-in-javascript/#comment-717821347</link><description>&lt;p&gt;lightboxes don't always have the same effect. I usually hate alert as well but still not sure what's the best way. I believe an error div is still best maybe instead of a fadeout message as i'm not a big fan of those.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hurric</dc:creator><pubDate>Fri, 23 Nov 2012 18:08:58 -0000</pubDate></item><item><title>Re: Alternatives to singletons in javascript</title><link>http://www.javascriptkata.com/2010/10/20/alternatives-to-singletons-in-javascript/#comment-713176709</link><description>&lt;p&gt;Seriously? I've been scouring the web for so long and this is the first time i find this? Just opened up my eyes, you are the best, always stared at the jQuery source code and this is the first time i "really" understand it. Thanks and keep up the good work.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anon</dc:creator><pubDate>Sun, 18 Nov 2012 08:06:59 -0000</pubDate></item><item><title>Re: Stop Javascript,  use Coffeescript</title><link>http://www.javascriptkata.com/2012/05/22/stop-javascript-use-coffeescript/#comment-671350726</link><description>&lt;p&gt;ok, I corrected the link!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dsimard</dc:creator><pubDate>Thu, 04 Oct 2012 15:17:20 -0000</pubDate></item><item><title>Re: Stop Javascript,  use Coffeescript</title><link>http://www.javascriptkata.com/2012/05/22/stop-javascript-use-coffeescript/#comment-671041839</link><description>&lt;p&gt;That link to Macournoyer's book seems like it's been hacked. At least it doesn't lead anywhere for me.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Daniel Lidström</dc:creator><pubDate>Thu, 04 Oct 2012 09:45:00 -0000</pubDate></item><item><title>Re: Do not use javascript for validations</title><link>http://www.javascriptkata.com/2007/04/25/do-not-use-javascript-for-validations/#comment-636863866</link><description>&lt;p&gt;I disagree with you. Client side validation is good for usability. The user can have immediate feedback without a roundtrip to the server. The problem isn't with javascript. The problem is with code running on an untrusted client, and exists even if it is a compiled binary from c. You never know what will be sent to your server. For example, while processing a login request on the server you expect a username of 10 characters, but someone could be sending you a 1 gigabyte binary file instead, and the request doesn't even have to come from the page that you created.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Some</dc:creator><pubDate>Sat, 01 Sep 2012 07:44:15 -0000</pubDate></item><item><title>Re: Mastering the date object in javascript</title><link>http://www.javascriptkata.com/2007/04/27/mastering-of-the-date-object-in-javascript/#comment-556318853</link><description>&lt;p&gt;gindara... thanks&lt;/p&gt;&lt;p&gt;it's grate &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Buwas</dc:creator><pubDate>Wed, 13 Jun 2012 11:51:57 -0000</pubDate></item><item><title>Re: Stop Javascript,  use Coffeescript</title><link>http://www.javascriptkata.com/2012/05/22/stop-javascript-use-coffeescript/#comment-536596823</link><description>&lt;p&gt;You mistyped Jeremy Ashkenas' name (twice).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ariel Serafini</dc:creator><pubDate>Wed, 23 May 2012 10:57:14 -0000</pubDate></item><item><title>Re: Stop Javascript,  use Coffeescript</title><link>http://www.javascriptkata.com/2012/05/22/stop-javascript-use-coffeescript/#comment-536001792</link><description>&lt;p&gt; Clearly, we are doing very different kinds of development if you feel that saving a few extra keystrokes is worth turning failed unit tests and stack traces into gibberish.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">waltersear</dc:creator><pubDate>Tue, 22 May 2012 16:19:29 -0000</pubDate></item></channel></rss>