]> Cypherpunks.ru repositories - gostls13.git/commit
misc/wasm: update deprecated substr usage
authorMarko Kungla <marko.kungla@gmail.com>
Thu, 12 May 2022 22:34:02 +0000 (01:34 +0300)
committerGopher Robot <gobot@golang.org>
Tue, 27 Sep 2022 17:15:12 +0000 (17:15 +0000)
commitff34676cdd5f2c318fa58e78c84a90b3e5a21b04
tree5b36ea74e69da21ff067a54d3836691e5228fb84
parent6c3567873c4c58fe5b9e9abe77fed826a8e2ac97
misc/wasm: update deprecated substr usage

String.prototype.substr is deprecated and usage is no longer
recommended so using String.prototype.substring instead.

Change-Id: I9eb49a8c065890df73301e3a04af59f550bc3ae1
Reviewed-on: https://go-review.googlesource.com/c/go/+/406094
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
misc/wasm/wasm_exec.js