Remove ol.global
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user