Replace goog.getUid with ol.getUid
This commit is contained in:
@@ -14,7 +14,7 @@ goog.provide('ol.net');
|
||||
*/
|
||||
ol.net.jsonp = function(url, callback, opt_errback, opt_callbackParam) {
|
||||
var script = ol.global.document.createElement('script');
|
||||
var key = 'olc_' + goog.getUid(callback);
|
||||
var key = 'olc_' + ol.getUid(callback);
|
||||
function cleanup() {
|
||||
delete ol.global[key];
|
||||
script.parentNode.removeChild(script);
|
||||
|
||||
Reference in New Issue
Block a user