jquery.makeCollapsible: cleanup
authorMatmaRex <matma.rex@gmail.com>
Sat, 23 Mar 2013 14:27:46 +0000 (15:27 +0100)
committerMatmaRex <matma.rex@gmail.com>
Sun, 16 Jun 2013 13:00:09 +0000 (15:00 +0200)
commit391c28ccbae80bca4de7d1b79d57d4ecfaa02413
tree6b5cf354611b52413285570a02e49e6d58417ede
parentb778b2e0bbf4818d6bb7912a31373b187858f903
jquery.makeCollapsible: cleanup

* Ensure correct handling of togglers which hook to multiple elements
  and elements which have multiple togglers
* Move the `options === undefined` check outside the loop
  per CR on I8dd4f0d0
* Get rid of the old private toggling functions for various kinds of
  toggles (obsoleted, but left alone, in Id3f457a8)
* Don't use separate logic for initial toggling of custom togglers
* Consistently use collapseText/expandText (uppercase T) instead of
  collapsetext/expandtext (lowercase t) where possible
* Adjust comments and whitespace

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