[Pkg-mozext-commits] [adblock-plus] 06/74: Issue 2233 - Adapted some more array type annotations for JsDoc 3
David Prévot
taffit at moszumanska.debian.org
Tue Aug 11 12:07:04 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository adblock-plus.
commit 9182e686502dc3615abe6141b5926d69dcb0c2c4
Author: Sebastian Noack <sebastian at adblockplus.org>
Date: Wed Apr 1 11:35:41 2015 +0200
Issue 2233 - Adapted some more array type annotations for JsDoc 3
---
lib/contentPolicy.js | 6 +++---
lib/filterStorage.js | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/lib/contentPolicy.js b/lib/contentPolicy.js
index e0fff60..35f2f54 100644
--- a/lib/contentPolicy.js
+++ b/lib/contentPolicy.js
@@ -33,13 +33,13 @@ let {ElemHide} = require("elemHide");
/**
* List of explicitly supported content types
- * @type Array of String
+ * @type string[]
*/
let contentTypes = ["OTHER", "SCRIPT", "IMAGE", "STYLESHEET", "OBJECT", "SUBDOCUMENT", "DOCUMENT", "XMLHTTPREQUEST", "OBJECT_SUBREQUEST", "FONT", "MEDIA"];
/**
* List of content types that aren't associated with a visual document area
- * @type Array of String
+ * @type string[]
*/
let nonVisualTypes = ["SCRIPT", "STYLESHEET", "XMLHTTPREQUEST", "OBJECT_SUBREQUEST", "FONT"];
@@ -603,7 +603,7 @@ PolicyImplementation.init();
/**
* Nodes scheduled for post-processing (might be null).
- * @type Array of Node
+ * @type Node[]
*/
let scheduledNodes = null;
diff --git a/lib/filterStorage.js b/lib/filterStorage.js
index 0e45140..b62f376 100644
--- a/lib/filterStorage.js
+++ b/lib/filterStorage.js
@@ -103,7 +103,7 @@ let FilterStorage = exports.FilterStorage =
/**
* List of filter subscriptions containing all filters
- * @type Array of Subscription
+ * @type Subscription[]
*/
subscriptions: [],
@@ -205,7 +205,7 @@ let FilterStorage = exports.FilterStorage =
/**
* Replaces the list of filters in a subscription by a new list
* @param {Subscription} subscription filter subscription to be updated
- * @param {Array of Filter} filters new filter lsit
+ * @param {Filter[]} filters new filter list
*/
updateSubscriptionFilters: function(subscription, filters)
{
@@ -340,7 +340,7 @@ let FilterStorage = exports.FilterStorage =
/**
* Resets hit count for some filters
- * @param {Array of Filter} filters filters to be reset, if null all filters will be reset
+ * @param {Filter[]} filters filters to be reset, if null all filters will be reset
*/
resetHitCounts: function(filters)
{
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git
More information about the Pkg-mozext-commits
mailing list