]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
Replace deprecated String.prototype.substr() (#10243)
authorCommanderRoot <CommanderRoot@users.noreply.github.com>
Fri, 18 Mar 2022 21:38:28 +0000 (22:38 +0100)
committerGitHub <noreply@github.com>
Fri, 18 Mar 2022 21:38:28 +0000 (17:38 -0400)
commitacc7d9e04a615a3eb6e6e0cdde6188aebe372524
treea464fcad6d5d495a04c77f92dd76a41c2b89f12b
parent285d84515989a6ce4488a2702ba7ede58a7498e6
Replace deprecated String.prototype.substr() (#10243)

String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr) so we replace it with similar functions which aren't deprecated.
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
src/helpers/helpers.core.js