Updated Branches: refs/heads/master 47284f8f6 -> ccad37057
[CB-2305] Document executeScript callback parameters Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/ccad3705 Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/ccad3705 Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/ccad3705 Branch: refs/heads/master Commit: ccad3705760f6b2e850c9694e4cd951471985daf Parents: 47284f8 Author: Ian Clelland <[email protected]> Authored: Thu Apr 4 14:06:05 2013 -0400 Committer: Michael Brooks <[email protected]> Committed: Thu Apr 4 11:55:00 2013 -0700 ---------------------------------------------------------------------- docs/en/edge/cordova/inappbrowser/inappbrowser.md | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/ccad3705/docs/en/edge/cordova/inappbrowser/inappbrowser.md ---------------------------------------------------------------------- diff --git a/docs/en/edge/cordova/inappbrowser/inappbrowser.md b/docs/en/edge/cordova/inappbrowser/inappbrowser.md index 9f79f1a..042957d 100644 --- a/docs/en/edge/cordova/inappbrowser/inappbrowser.md +++ b/docs/en/edge/cordova/inappbrowser/inappbrowser.md @@ -278,6 +278,9 @@ executeScript "code" - Text of the script to inject - __callback:__ the function that is to be called in the Cordova application after the JavaScript code is injected. + - If the injected script is of type "code", then the callback will be called with a single argument, which is + the return value of the script, wrapped in an Array. (For multi-line scripts, this is the return value of the + last statement, or the last expression evaluated.) Supported Platforms -------------------
