Skip to content

Commit

Permalink
Always print the received response value, even if it is null
Browse files Browse the repository at this point in the history
  • Loading branch information
marcuswestin committed May 23, 2014
1 parent 8a60345 commit 328f341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Example Apps/ExampleApp.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ <h1>WebViewJavascriptBridge Demo</h1>
var log = document.getElementById('log')
var el = document.createElement('div')
el.className = 'logLine'
el.innerHTML = uniqueId++ + '. ' + message + (data ? ':<br/>' + JSON.stringify(data) : '')
el.innerHTML = uniqueId++ + '. ' + message + ':<br/>' + JSON.stringify(data)
if (log.children.length) { log.insertBefore(el, log.children[0]) }
else { log.appendChild(el) }
}
Expand Down

0 comments on commit 328f341

Please sign in to comment.