pioz/jquery-tree — pull request #7 by stecb (2012-05-18 10:16:07+00:00)
Title: Finished (and tested) animation bug on expand all, added minified version

The expand all is now fixed, code:

```javascript
$.fn.expand = function(animation) {
animation = (animation == 'none') ? undefined : (!animation) ? o.animation : animation;
// find each :first-child .jtree-arrow.close element (we don't need to care about open elements, they're already open...)
elems = $(this).find('.jtree-arrow.close:first-child');
// their childs .jtree-arrow.close need to be opened without animation (!IMPORTANT!)
elems.siblings('ul').find('.jtree-arrow.close').open(undefined);
// the :first-child elements now can be opened with animation (height is known now)
elems.open(animation);
};
```