1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-21 17:45:46 +01:00

Use [foo] instead of foo[] consistently in source doc type annotations.

This commit is contained in:
Štěpán Němec
2011-07-22 12:33:36 +02:00
parent eca606fab2
commit cc03bfadf8
15 changed files with 51 additions and 51 deletions

View File

@@ -47,7 +47,7 @@ var AutoCmdHive = Class("AutoCmdHive", Contexts.Hive, {
*
* @param {string} event The event name filter.
* @param {string} pattern The URL pattern filter.
* @returns {AutoCommand[]}
* @returns {[AutoCommand]}
*/
get: function (event, pattern) {
return this._store.filter(function (autoCmd) autoCmd.match(event, regexp));
@@ -89,7 +89,7 @@ var AutoCommands = Module("autocommands", {
*
* @param {string} event The event name filter.
* @param {string} regexp The URL pattern filter.
* @param {Hive[]} hives List of hives.
* @param {[Hive]} hives List of hives.
* @optional
*/
list: function (event, regexp, hives) {