Skip to content

Commit ac2f5ab

Browse files
committed
Use let instead of const
1 parent 6f2c5e3 commit ac2f5ab

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/src/main/res/raw/webviewcompat_test_script.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
let supportedMessages = ["ContextMenuOpened", "PageStarted"];
22

3-
const delay = $DELAY$;
4-
const postInitialPing = $POST_INITIAL_PING$;
5-
const replyToNativeMessages = $REPLY_TO_NATIVE_MESSAGES$;
3+
let delay = $DELAY$;
4+
let postInitialPing = $POST_INITIAL_PING$;
5+
let replyToNativeMessages = $REPLY_TO_NATIVE_MESSAGES$;
66

7-
const pingMessage = 'Ping:' + window.location.href + ' ' + delay + 'ms'
7+
let pingMessage = 'Ping:' + window.location.href + ' ' + delay + 'ms'
88

99

1010
if (postInitialPing) {

0 commit comments

Comments
 (0)