Skip to content

Commit c3cb838

Browse files
committed
Fix example app to use callHandler instead of fireHandler. Thanks for catching this @eventomer!
1 parent 57d6299 commit c3cb838

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ExampleApp/ExampleApp.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ <h1>WebViewJavascriptBridge Demo</h1>
4444
callbackButton.ontouchstart = function(e) {
4545
e.preventDefault()
4646
log("Calling handler testObjcCallback")
47-
bridge.fireHandler('testObjcCallback', {'foo': 'bar'}, function(response) {
47+
bridge.callHandler('testObjcCallback', {'foo': 'bar'}, function(response) {
4848
log('Got response from testObjcCallback', response)
4949
})
5050
}

0 commit comments

Comments
 (0)