Manual adjustment of indentation

This commit is contained in:
Marc Jansen
2017-06-20 10:41:03 +02:00
parent d0ef05977b
commit 7d6929c710
28 changed files with 266 additions and 262 deletions
+11 -11
View File
@@ -79,26 +79,26 @@ ol.color.fromString = (
// arbitrary 25% of the entries.
/**
* @const
* @type {number}
*/
* @const
* @type {number}
*/
var MAX_CACHE_SIZE = 1024;
/**
* @type {Object.<string, ol.Color>}
*/
* @type {Object.<string, ol.Color>}
*/
var cache = {};
/**
* @type {number}
*/
* @type {number}
*/
var cacheSize = 0;
return (
/**
* @param {string} s String.
* @return {ol.Color} Color.
*/
/**
* @param {string} s String.
* @return {ol.Color} Color.
*/
function(s) {
var color;
if (cache.hasOwnProperty(s)) {