summaryrefslogtreecommitdiff
path: root/common/content/autocommands.js
diff options
context:
space:
mode:
authorDoug Kearns <dougkearns@gmail.com>2010-10-21 22:55:15 +1100
committerDoug Kearns <dougkearns@gmail.com>2010-10-21 22:55:15 +1100
commit377f8b01d4b8d2d6282882af9f6b5e58107a24ed (patch)
tree6449dc7c59a456f2be32d0dab809a79429388ce7 /common/content/autocommands.js
parentf3d194b00b411f43d61370252c39ec6fed6465d5 (diff)
downloadpentadactyl-377f8b01d4b8d2d6282882af9f6b5e58107a24ed.tar.gz
Replace use of <b>arg</b> in API docs with *arg*.
--HG-- extra : rebase_source : f127ac4f494053e4306074f5acded34b2d363eef
Diffstat (limited to 'common/content/autocommands.js')
-rw-r--r--common/content/autocommands.js19
1 files changed, 7 insertions, 12 deletions
diff --git a/common/content/autocommands.js b/common/content/autocommands.js
index 8362ded3..a8e97bcd 100644
--- a/common/content/autocommands.js
+++ b/common/content/autocommands.js
@@ -21,9 +21,8 @@ const AutoCommands = Module("autocommands", {
__iterator__: function () array.iterValues(this._store),
/**
- * Adds a new autocommand. <b>cmd</b> will be executed when one of the
- * specified <b>events</b> occurs and the URL of the applicable buffer
- * matches <b>regex</b>.
+ * Adds a new autocommand. *cmd* will be executed when one of the specified
+ * *events* occurs and the URL of the applicable buffer matches *regex*.
*
* @param {Array} events The array of event names for which this
* autocommand should be executed.
@@ -37,8 +36,7 @@ const AutoCommands = Module("autocommands", {
},
/**
- * Returns all autocommands with a matching <b>event</b> and
- * <b>regex</b>.
+ * Returns all autocommands with a matching *event* and *regex*.
*
* @param {string} event The event name filter.
* @param {string} regex The URL pattern filter.
@@ -49,8 +47,7 @@ const AutoCommands = Module("autocommands", {
},
/**
- * Deletes all autocommands with a matching <b>event</b> and
- * <b>regex</b>.
+ * Deletes all autocommands with a matching *event* and *regex*.
*
* @param {string} event The event name filter.
* @param {string} regex The URL pattern filter.
@@ -60,8 +57,7 @@ const AutoCommands = Module("autocommands", {
},
/**
- * Lists all autocommands with a matching <b>event</b> and
- * <b>regex</b>.
+ * Lists all autocommands with a matching *event* and *regex*.
*
* @param {string} event The event name filter.
* @param {string} regex The URL pattern filter.
@@ -98,9 +94,8 @@ const AutoCommands = Module("autocommands", {
},
/**
- * Triggers the execution of all autocommands registered for
- * <b>event</b>. A map of <b>args</b> is passed to each autocommand
- * when it is being executed.
+ * Triggers the execution of all autocommands registered for *event*. A map
+ * of *args* is passed to each autocommand when it is being executed.
*
* @param {string} event The event to fire.
* @param {Object} args The args to pass to each autocommand.