Fix return type

This commit is contained in:
Andreas Hocevar
2017-11-03 13:54:41 +01:00
parent 72eb8ab5e8
commit 129350d863

View File

@@ -49,7 +49,7 @@ ol.css.CLASS_CONTROL = 'ol-control';
* Get the list of font families from a font spec. Note that this doesn't work
* for font families that have commas in them.
* @param {string} The CSS font property.
* @return {Array.<string>} The font families (or null if the input spec is invalid).
* @return {Object.<string>} The font families (or null if the input spec is invalid).
*/
ol.css.getFontFamilies = (function() {
var style;