Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(320)

Unified Diff: remoting/webapp/crd/js/ui_mode.js

Issue 917093003: Shorten Closure template notation from Array.<*> to Array<*>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove cvox Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/webapp/crd/js/typecheck.js ('k') | remoting/webapp/crd/js/video_frame_recorder.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/crd/js/ui_mode.js
diff --git a/remoting/webapp/crd/js/ui_mode.js b/remoting/webapp/crd/js/ui_mode.js
index ea8d2afd3723fe0b80d135da062de8b72313e755..89c833ecb7978ae9698c21e4604d97e19bd2bd11 100644
--- a/remoting/webapp/crd/js/ui_mode.js
+++ b/remoting/webapp/crd/js/ui_mode.js
@@ -60,7 +60,7 @@ remoting.kMe2MeVisitedStorageKey = 'me2me-visited';
/**
* @param {Element} element The element to check.
* @param {string} attrName The attribute on the element to check.
- * @param {Array.<string>} modes The modes to check for.
+ * @param {Array<string>} modes The modes to check for.
* @return {boolean} True if any mode in |modes| is found within the attribute.
*/
remoting.hasModeAttribute = function(element, attrName, modes) {
@@ -239,15 +239,15 @@ remoting.initModalDialogs = function() {
};
/**
- * @param {Array.<MutationRecord>} mutations The set of mutations affecting
+ * @param {Array<MutationRecord>} mutations The set of mutations affecting
* an observed node.
*/
function confineOrRestoreFocus_(mutations) {
// The list of mutations can include duplicates, so reduce it to a canonical
// show/hide list.
- /** @type {Array.<Node>} */
+ /** @type {Array<Node>} */
var shown = [];
- /** @type {Array.<Node>} */
+ /** @type {Array<Node>} */
var hidden = [];
for (var i = 0; i < mutations.length; ++i) {
var mutation = mutations[i];
« no previous file with comments | « remoting/webapp/crd/js/typecheck.js ('k') | remoting/webapp/crd/js/video_frame_recorder.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698