Project

General

Profile

Actions

Bug #91683

closed

Use String.prototype.trim over $.trim

Added by Andreas Kienast almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend JavaScript
Target version:
Start date:
2020-06-20
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

jQuery has a function to trim whitespaces off strings. The same functionality is provided in the standard JavaScript feature set already.

Fun fact: $.trim() is deprecated in jQuery 3.5.

Actions

Also available in: Atom PDF