Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/contentPolicy.js

Issue 4911914341629952: Issue 2233 - Adapted some more array type annotations for JsDoc 3 (Closed)
Patch Set: Created April 1, 2015, 9:35 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | lib/filterStorage.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/contentPolicy.js
===================================================================
--- a/lib/contentPolicy.js
+++ b/lib/contentPolicy.js
@@ -33,13 +33,13 @@
/**
* 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 @@
/**
* Nodes scheduled for post-processing (might be null).
- * @type Array of Node
+ * @type Node[]
*/
let scheduledNodes = null;
« no previous file with comments | « no previous file | lib/filterStorage.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld