From a890e606eb5e072e6df21a6119e1b6d697811978 Mon Sep 17 00:00:00 2001 From: cvanem Date: Tue, 25 Dec 2018 15:01:43 -0700 Subject: [PATCH] Example documentation - Fix callBack function name --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 708cc7edc..b1ad11643 100644 --- a/README.md +++ b/README.md @@ -295,7 +295,7 @@ function executeScriptCallBack(params) { } -function beforeloadCallback(params, callback) { +function beforeloadCallBack(params, callback) { if (params.url.startsWith("http://www.example.com/")) { @@ -309,7 +309,7 @@ function beforeloadCallback(params, callback) { } -function messageCallback(params){ +function messageCallBack(params){ $('#status-message').text("message received: "+params.data.my_message); }