Followup r104671: fix regression in jquery.delayedBind() due to change in param proce...
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 2 Dec 2011 21:47:46 +0000 (21:47 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 2 Dec 2011 21:47:46 +0000 (21:47 +0000)
commitb36d8ace6d61c83267ea308d190dec704549bb41
tree6b2fdc18b510ba0671d9da1e57fb1da8ca60574b
parent09732c2b128f5ec30007842d5156037b5ba461df
Followup r104671: fix regression in jquery.delayedBind() due to change in param processing for jquery's bind()

Problem was per CR comment https://www.mediawiki.org/wiki/Special:Code/MediaWiki/104671#c26836 -- parameter count check changed in upstream jquery.bind(), causing the way we passed params to break if the optional 'data' parameter was left out.

Added QUnit test cases for jquery.delayedBind() with and without the optional 'data' parameter.
Undoes r104671 since the issue it was working around is fixed.
resources/jquery/jquery.collapsibleTabs.js
resources/jquery/jquery.delayedBind.js
tests/qunit/index.html
tests/qunit/suites/resources/jquery/jquery.delayedBind.test.js [new file with mode: 0644]