jquery.makeCollapsible: move helper functions to the outer scope
authorMatmaRex <matma.rex@gmail.com>
Thu, 14 Mar 2013 20:15:41 +0000 (21:15 +0100)
committerMatmaRex <matma.rex@gmail.com>
Fri, 15 Mar 2013 23:16:33 +0000 (00:16 +0100)
commit4ef63498fc45f3b1554a5528cd2e939a246905b2
tree655d33c61348a2fd1402b5875a79e79f0e113b92
parent2638b16c524482042de4c2aae65c86acb26d99f8
jquery.makeCollapsible: move helper functions to the outer scope

They do not directly use any variables defined inside
$.fn.makeCollapsible (although they used to), so let's move them to
the appropriate place.

Also indent the body of the immediately-invoked wrapper function.

Change-Id: I3d5f33b4a3ed8bd72c5f55c4d9fa545e4f3bd8c4
resources/jquery/jquery.makeCollapsible.js