Hygiene: fix DownloadIcon function typing

Change-Id: I421332acae4ace9d0bb7cfcd4b31d9f4581c3e34
This commit is contained in:
Stephen Niedzielski 2018-07-11 13:39:55 -05:00
parent d2b1771f13
commit 10024b641e

View file

@ -9,7 +9,7 @@
* Helper function to retreive the Android version
* @ignore
* @param {string} userAgent User Agent
* @return {number} An integer.
* @return {number|false} An integer.
*/
function getAndroidVersion( userAgent ) {
var match = userAgent.toLowerCase().match( /android\s(\d\.]*)/ );
@ -20,7 +20,7 @@
* Helper function to retrieve the Chrome/Chromium version
* @ignore
* @param {string} userAgent User Agent
* @return {number} An integer.
* @return {number|false} An integer.
*/
function getChromeVersion( userAgent ) {
var match = userAgent.toLowerCase().match( /chrom(e|ium)\/(\d+)\./ );