News for hackers. Stuff that matters.
Re:Javascript patterns by mattparlane on Thursday January 02, 2014 @03:02PM (#7001879)
Very cool. I'd recommend adding something about callbacks defined in loops, ie:

  for (var i = 0; i < 10; i++) {
    $('.thing').click(function() {
      alert(i);
    });
  }

There are no comments on this comment yet.