From 4cbd3c6c4620797c65b3e9507529907122e1f306 Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Fri, 20 Sep 2013 13:12:16 -0700 Subject: WebHelper documentation improvements A few formatting improvements [endlessm/eos-sdk#310] --- webhelper/webhelper.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'webhelper') diff --git a/webhelper/webhelper.js b/webhelper/webhelper.js index 06912ed..32ad4ec 100644 --- a/webhelper/webhelper.js +++ b/webhelper/webhelper.js @@ -57,11 +57,11 @@ const Application = new Lang.Class({ * Define an action that may be invoked from a WebView * * Parameters: - * - name: a string, which must be a valid URI location. - * - implementation: a function (see Callback Parameters below.) + * name - a string, which must be a valid URI location. + * implementation - a function (see Callback Parameters below.) * * Callback Parameters: - * - dict: object containing properties corresponding to the query + * dict - object containing properties corresponding to the query * parameters that the web action was called with * * Sets up an action that may be invoked from an HTML document inside a @@ -73,7 +73,7 @@ const Application = new Lang.Class({ * > This one goes to 11 * Or from the in-browser Javascript, by navigating to the action URI, as * follows: - * > window.location = 'endless://setVolume?volume=11' + * > window.location.href = 'endless://setVolume?volume=11'; * * In both cases, the function would then be called with the _dict_ * parameter equal to @@ -165,7 +165,7 @@ const Application = new Lang.Class({ return true; }, -// convenience functions + // convenience function _getElementById: function(webview, id) { // WebKit.DOMDocument -- cgit v1.2.3