Fix a couple more places where we were using the old String.strip method.

Review Request #13653 — Created March 21, 2024 and submitted — Latest diff uploaded

Information

Djblets
release-5.x

Reviewers

Long ago, we monkey-patched the String class to include a strip()
method. This is now in the standard library as trim(), and we've
deprecated our version. This change fixes two places that still used it
that I had missed.

Ran js-tests and saw that the deprecation warnings were no longer
showing up in the console.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Fix a couple more places where we were using the old String.strip method.
Long ago, we monkey-patched the String class to include a `strip()` method. This is now in the standard library as `trim()`, and we've deprecated our version. This change fixes two places that still used it that I had missed. Testing Done: Ran js-tests and saw that the deprecation warnings were no longer showing up in the console.
6bf1b9129e56c5b1180d951edb0a349bfc704229 David Trowbridge
djblets/static/djblets/js/configForms/views/tests/tableItemViewTests.ts
Loading...