1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-05 08:24:11 +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

@@ -1306,7 +1306,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
* ['www.google.com/search?q=bla', 'www.osnews.com']
*
* @param {string} str
* @returns {string[]}
* @returns {[string]}
*/
parseURLs: function parseURLs(str) {
let urls;
@@ -1506,7 +1506,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
},
/**
* @property {Window[]} Returns an array of all the host application's
* @property {[Window]} Returns an array of all the host application's
* open windows.
*/
get windows() [win for (win in iter(services.windowMediator.getEnumerator("navigator:browser"))) if (win.dactyl)],