Last modified: 2012-11-06 19:51:08 UTC
Usually you can do the following with jQuery plugIns: * $('#mySelector').click(_myHandlerMethod).myFirstPlugin({ settings: '' }).mySecondPlugIn(); This is accomplished by returning the passed elements from the plugIn-method.
Rephrase summary, there is no such thing as a "jQuery Node". jQuery objects are instances of jQuery which have an array-like collection internally with one or more element. We don't want to return the node, but the jQuery object itself (which the prototype methods for other plugins and built-in methods etc.).
Fixed in https://gerrit.wikimedia.org/r/#/c/32091