Fix return type
This commit is contained in:
+1
-1
@@ -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
|
* Get the list of font families from a font spec. Note that this doesn't work
|
||||||
* for font families that have commas in them.
|
* for font families that have commas in them.
|
||||||
* @param {string} The CSS font property.
|
* @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() {
|
ol.css.getFontFamilies = (function() {
|
||||||
var style;
|
var style;
|
||||||
|
|||||||
Reference in New Issue
Block a user