Skip to content

refactor: replace deprecated String.prototype.substr() - #60

Open
CommanderRoot wants to merge 1 commit into
jitsi:masterfrom
CommanderRoot:refactor/rm-deprecated-substr
Open

refactor: replace deprecated String.prototype.substr()#60
CommanderRoot wants to merge 1 commit into
jitsi:masterfrom
CommanderRoot:refactor/rm-deprecated-substr

Conversation

@CommanderRoot

Copy link
Copy Markdown

String.prototype.substr() is deprecated so we replace it with String.prototype.slice() which works similarily but isn't deprecated.
.substr() probably isn't going away anytime soon but the change is trivial so it doesn't hurt to do it.

.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated

Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
@damencho

damencho commented Dec 6, 2022

Copy link
Copy Markdown
Member

Thanks for your contribution!
If you haven't already done so, could you please make sure you sign our CLA (https://jitsi.org/icla for individuals and https://jitsi.org/ccla for corporations)? We would, unfortunately, be unable to merge your patch unless we have that piece :(.

@CommanderRoot

Copy link
Copy Markdown
Author

I have now signed the CLA as requested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants