News for hackers. Stuff that matters.
Re:Show HN: Spellbinder, real-time view/model binding for ba... by rraval on Friday May 17, 2013 @11:37PM (#5727827)
Even so, the example is a tad puffed up:

    if (count > 100) {
      $el.removeClass('low-value');
      $el.addClass('high-value');
    } else if (count < 50) {
      $el.removeClass('high-value');
      $el.addClass('low-value');
    } else {
      $el.removeClass('high-value');
      $el.removeClass('low-value');
    }
Compare to how this would normally be written:

    $el.toggleClass('high-value', count > 100);
    $el.toggleClass('low-value', count < 50);
Re:Show HN: Spellbinder, real-time view/model binding for ba... by mattinsler on Saturday May 18, 2013 @03:03AM (#5728127)
Nice code, I'll update the readme to be more realistic.
Re:Show HN: Spellbinder, real-time view/model binding for ba... by adambard on Saturday May 18, 2013 @12:36AM (#5727926)
I did not know about this. Thanks!