vakata / jstree

jquery tree plugin
http://jstree.com
MIT License
5.15k stars 1.38k forks source link

Replace deprecated jquery trim with a new internal trim function #2460

Closed andtown closed 3 years ago

andtown commented 3 years ago

These changes were made due to the deprecation of the trim function on jQuery 3.5. To have similar behaviour and functionality that also supports older browsers like Internet Explorer 6-8, Opera 12.1x, and Safari 5.1+, the newly internal trim function is partly adapted from the jQuery trim originated from version 1.12.