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

View File

@@ -288,15 +288,3 @@ ol.getUid = function(obj) {
* @private
*/
ol.uidCounter_ = 0;
/**
* @see https://github.com/tc39/proposal-global
*/
if (typeof window !== 'undefined') {
ol.global = window;
} else if (typeof global !== 'undefined') {
ol.global = global;
} else if (typeof self !== 'undefined') {
ol.global = self;
}