You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Allow for non-id containers
* Treant uses the drawArea as a native dom object and not a jQuery object, so using .get(0)
* Simplify use of addClass/removeClass to toggleClass
* Add a callback for onCollapseFinished
* A few minor comment spelling corrections
* Added onCreateNode and onCreateNodeCollapseSwitch. Further, using jQuery’s well established $.extend for deep merge of configuration objects which means we can now supply callback functions (without $.extend the local UTIL.createMerge doesn’t work for this functionality)
* Beginnings of having optional jQuery support
* Moved findEl to UTIL and moved the configuration of $ to Treant instead of Tree
* Added a UTIL.toggleClass to help remove the jQuery dependency
* Fix for jQuery usage of extend()
* Implemented the ability to have the drawArea autosize according to the tree content.
* Removed the last of the jQuery dependencies. This means the collapse/expand works without jQuery being available.
* Address issues #22; uses the suggestion given but ensures not to affect the load process (because it internally tracks the images being loaded). Relaxed the indexOf up to the colon as a URL will not include “data:”, but may not be followed by “image/“.
Great library, but I came for one thing. If you add an image in the form of "data: image / png ....." then you need minor adjustments in ImageLoader
if (image.src.indexOf('data:image/') === -1) {
image.src += "?" + new Date().getTime();
}
The text was updated successfully, but these errors were encountered: