Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Are you talking about method chaining, something that comes from JavaScript (technically the DOM I suppose), not jQuery?
 help



Method chaining is library-specific, a function of methods returning `this`/`self`.

jQuery made the decision to do this, not JavaScript.


Yes, I'm talking about using JS' method chaining. That's what I mean by "going with a language's features".

It was not commonplace at the time jQuery was released.



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

Search: