summaryrefslogtreecommitdiff
path: root/webhelper
diff options
context:
space:
mode:
authorPhilip Chimento <philip@endlessm.com>2013-09-20 13:12:16 -0700
committerPhilip Chimento <philip@endlessm.com>2013-09-23 15:40:54 -0700
commit4cbd3c6c4620797c65b3e9507529907122e1f306 (patch)
tree80ddcb47f8ac52fbcdd41f967c8172a61bd26fea /webhelper
parent3f909167192a68c036a78cdfa1333a86b368f3d8 (diff)
WebHelper documentation improvements
A few formatting improvements [endlessm/eos-sdk#310]
Diffstat (limited to 'webhelper')
-rw-r--r--webhelper/webhelper.js10
1 files changed, 5 insertions, 5 deletions
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({
* > <a href="endless://setVolume?volume=11">This one goes to 11</a>
* 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