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

Unified Diff: chrome/common/extensions/docs/examples/api/fontSettings/options.js

Issue 1150173003: Fix some JS style nits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 7 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
Index: chrome/common/extensions/docs/examples/api/fontSettings/options.js
diff --git a/chrome/common/extensions/docs/examples/api/fontSettings/options.js b/chrome/common/extensions/docs/examples/api/fontSettings/options.js
index e16cab4322065cc1ae714900bbad0c43f6275796..c6c978d913a1b956d1b44c125471d2aa2f561780 100644
--- a/chrome/common/extensions/docs/examples/api/fontSettings/options.js
+++ b/chrome/common/extensions/docs/examples/api/fontSettings/options.js
@@ -310,7 +310,7 @@ advancedFonts.getEffectiveFont = function(script, genericFamily, callback) {
/**
* Refreshes the UI controls related to a font setting.
*
- * @param {{fontList: HTMLSelectElement, samples: Array.<HTMLElement>}}
+ * @param {{fontList: HTMLSelectElement, samples: Array<HTMLElement>}}
* fontSetting The setting object (see advancedFonts.fontSettings).
* @param {string} font The value of the font setting.
* @param {boolean} controllable Whether the font setting can be controlled
@@ -329,7 +329,7 @@ advancedFonts.refreshFont = function(
/**
* Refreshes the UI controls related to a font size setting.
*
- * @param {{label: HTMLElement, slider: Slider, samples: Array.<HTMLElement>}}
+ * @param {{label: HTMLElement, slider: Slider, samples: Array<HTMLElement>}}
* fontSizeSetting The setting object (see advancedFonts.fontSizeSettings).
* @param size The value of the font size setting.
* @param controllable Whether the setting can be controlled by this extension.
@@ -391,7 +391,7 @@ advancedFonts.getSelectedFont = function(fontList) {
/**
* Populates the font lists.
- * @param {Array.<{fontId: string, displayName: string>} fonts The list of
+ * @param {Array<{fontId: string, displayName: string>} fonts The list of
* fonts on the system.
*/
advancedFonts.populateFontLists = function(fonts) {

Powered by Google App Engine
This is Rietveld 408576698