Hacker News new | past | comments | ask | show | jobs | submit login

Just set something on `this`:

    if (!this.mySettings) {
      this.mySettings = { value: 1 }
    }



140 character limit, so that wastes like 60 of it. :-)


Ah, didn't realize, my bad! It's doable in fewer characters of course, but still a waste. Funny, I thought it was just a bit odd how terse some of these demos were, but given the 140 char limit that I somehow didn't notice at all it makes more sense.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: