graphql-playground icon indicating copy to clipboard operation
graphql-playground copied to clipboard

refactor: replace deprecated String.prototype.substr()

Open CommanderRoot opened this issue 2 years ago • 3 comments

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 avatar Mar 23 '22 20:03 CommanderRoot

CLA Signed

The committers listed above are authorized under a signed CLA.

  • :white_check_mark: login: CommanderRoot (84fa7cb521d298d696fcd3fa70b9a9b5187dadad)

@CommanderRoot can you sign the CLA please?

acao avatar Apr 25 '22 06:04 acao

I apologize for not signing the CLA sooner, must have somehow missed it

CommanderRoot avatar Apr 25 '22 23:04 CommanderRoot