| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * @return {!Help.ReleaseNote} | 6 * @return {!Help.ReleaseNote} |
| 7 */ | 7 */ |
| 8 Help.latestReleaseNote = function() { | 8 Help.latestReleaseNote = function() { |
| 9 if (!Help._latestReleaseNote) { | 9 if (!Help._latestReleaseNote) { |
| 10 /** @type {!Help.ReleaseNote} */ | 10 /** @type {!Help.ReleaseNote} */ |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 | 74 |
| 75 /** | 75 /** |
| 76 * @const | 76 * @const |
| 77 * @type {string} | 77 * @type {string} |
| 78 */ | 78 */ |
| 79 Help._releaseNoteViewId = 'release-note'; | 79 Help._releaseNoteViewId = 'release-note'; |
| 80 | 80 |
| 81 /** @typedef {!{src: string}} */ | 81 /** @typedef {!{src: string}} */ |
| 82 Help.ReleaseNoteImage; | 82 Help.ReleaseNoteImage; |
| 83 | 83 |
| 84 /** @typedef {!{text: string, link: string, featured: (boolean | undefined)}} */ | 84 /** @typedef {!{text: string, link: (string | undefined)}} */ |
| 85 Help.ReleaseNoteHighlightContent; |
| 86 |
| 87 /** @typedef {!{contents: !Array<!Help.ReleaseNoteHighlightContent>, featured: (
boolean | undefined)}} */ |
| 85 Help.ReleaseNoteHighlight; | 88 Help.ReleaseNoteHighlight; |
| 86 | 89 |
| 87 /** | 90 /** |
| 88 * @typedef {!{version: number, highlights: !Array<!Help.ReleaseNoteHighlight>, | 91 * @typedef {!{version: number, highlights: !Array<!Help.ReleaseNoteHighlight>, |
| 89 * link: string, image: !Help.ReleaseNoteImage}} | 92 * link: string, image: !Help.ReleaseNoteImage}} |
| 90 */ | 93 */ |
| 91 Help.ReleaseNote; | 94 Help.ReleaseNote; |
| OLD | NEW |