Skip to content

Replace deprecated String.prototype.substr()#119

Open
CommanderRoot wants to merge 2 commits intoFortAwesome:0.3.xfrom
CommanderRoot:refactor/rm-deprecated-substr
Open

Replace deprecated String.prototype.substr()#119
CommanderRoot wants to merge 2 commits intoFortAwesome:0.3.xfrom
CommanderRoot:refactor/rm-deprecated-substr

Conversation

@CommanderRoot
Copy link

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.

CommanderRoot and others added 2 commits April 5, 2022 06:00
.substr() is deprecated so we replace it with functions which work similarily but aren't deprecated

Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
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.

1 participant