Comment

Comment by Groxx

I like it a lot. It would also simplify the ".end()" function in jQuery[1], because you could control it with indentation:

  $('.class')
    .find('.sub')
      .remove()
    .find('.stuff')
      .addClass('other')
      .find('.more_stuff')
        .removeClass('things')
    .filter('li')
      .appendTo('#my_list')
[1]: http://api.jquery.com/end/
parent Groxx 15 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton