Remove ol.global

This commit is contained in:
Tim Schaub
2016-09-01 22:28:20 -06:00
parent 785639338b
commit 651c6959ab
20 changed files with 55 additions and 96 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
goog.provide('ol.color');
goog.require('ol');
goog.require('ol.asserts');
goog.require('ol.math');
@@ -83,7 +82,7 @@ ol.color.fromNamed = function(color) {
var el = document.createElement('div');
el.style.color = color;
document.body.appendChild(el);
var rgb = ol.global.getComputedStyle(el).color;
var rgb = getComputedStyle(el).color;
document.body.removeChild(el);
return rgb;
};