Merge pull request #383 from cvanem/master
Example documentation - Fix messageCallBack and beforeloadCallBack function names
This commit is contained in:
commit
2500b08946
@ -299,7 +299,7 @@ function executeScriptCallBack(params) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function beforeloadCallback(params, callback) {
|
function beforeloadCallBack(params, callback) {
|
||||||
|
|
||||||
if (params.url.startsWith("http://www.example.com/")) {
|
if (params.url.startsWith("http://www.example.com/")) {
|
||||||
|
|
||||||
@ -313,7 +313,7 @@ function beforeloadCallback(params, callback) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function messageCallback(params){
|
function messageCallBack(params){
|
||||||
$('#status-message').text("message received: "+params.data.my_message);
|
$('#status-message').text("message received: "+params.data.my_message);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user