Skip to content

Commit b1c9219

Browse files
committed
Put the handler name first, so that it shows up before the data in the log messages
1 parent c025027 commit b1c9219

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WebViewJavascriptBridge/WebViewJavascriptBridge.js.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
}
3838

3939
function callHandler(handlerName, data, responseCallback) {
40-
_doSend({ data:data, handlerName:handlerName }, responseCallback)
40+
_doSend({ handlerName:handlerName, data:data }, responseCallback)
4141
}
4242

4343
function _doSend(message, responseCallback) {

0 commit comments

Comments
 (0)