Skip to content

Commit

Permalink
Add local app path printout to example
Browse files Browse the repository at this point in the history
  • Loading branch information
dongle committed Sep 20, 2012
1 parent a9f1bd7 commit ed2b193
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions example/conduit/DIYViewController.m
Expand Up @@ -43,6 +43,7 @@ - (void)renderWebView
" el.innerHTML = message;"
" });"
" WebViewJavascriptBridge.sendMessage('hello from the JS');"
" WebViewJavascriptBridge.sendMessage('local app path: ' + window.applicationLocalPath);"
" var button = document.body.appendChild(document.createElement('button'));"
" button.innerHTML = 'Click me to send a message to ObjC';"
" button.onclick = button.ontouchup = function() { WebViewJavascriptBridge.sendMessage('hello from JS button'); };"
Expand Down

0 comments on commit ed2b193

Please sign in to comment.