jquery-rails
jquery-rails copied to clipboard
The Jquery V3.5.0+ already removed trim method.
Hi,
Per the Jquery official document, they have removed the jQuery.trim()
function.
- https://api.jquery.com/jQuery.trim/
- https://github.com/jquery/jquery/pull/4695
However, I saw the Jquery3 in this lib still contains trim()
function.
https://github.com/rails/jquery-rails/blob/master/vendor/assets/javascripts/jquery3.js#L10811