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

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

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.

Summary ID
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
chipx86
  1. Ship It!
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to release-5.x (91ea4cc)