Update WebViewWidgetMessageInterceptor.kt
Improve parameter naming
This commit is contained in:
parent
30a288a216
commit
3476cae00b
1 changed files with 2 additions and 2 deletions
|
|
@ -46,8 +46,8 @@ class WebViewWidgetMessageInterceptor(
|
||||||
// objects in log lines.
|
// objects in log lines.
|
||||||
view?.evaluateJavascript(
|
view?.evaluateJavascript(
|
||||||
"""
|
"""
|
||||||
function logFn(logFn, ...args) {
|
function logFn(consoleLogFn, ...args) {
|
||||||
logFn(
|
consoleLogFn(
|
||||||
args.map(
|
args.map(
|
||||||
a => typeof a === "string" ? a : JSON.stringify(a)
|
a => typeof a === "string" ? a : JSON.stringify(a)
|
||||||
).join(' ')
|
).join(' ')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue