Skip to content

Commit

Permalink
Merge pull request #383 from cvanem/master
Browse files Browse the repository at this point in the history
Example documentation - Fix messageCallBack and beforeloadCallBack function names
  • Loading branch information
purplecabbage committed Mar 6, 2019
2 parents d01bd25 + a890e60 commit 2500b08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ function executeScriptCallBack(params) {

}

function beforeloadCallback(params, callback) {
function beforeloadCallBack(params, callback) {

if (params.url.startsWith("http://www.example.com/")) {

Expand All @@ -313,7 +313,7 @@ function beforeloadCallback(params, callback) {

}

function messageCallback(params){
function messageCallBack(params){
$('#status-message').text("message received: "+params.data.my_message);
}

Expand Down

0 comments on commit 2500b08

Please sign in to comment.