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

To be fair, that's a pretty odd way to write jQuery, which is designed to be chained. It could be rewritten as:

    $('.nH .if')
      .children().eq(1)
      .children()
      .children().eq(1)
      .children().eq(1)
But if you were just pointing out how brittle it is, then yes, that's still apparent.



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

Search: