Replace goog.getUid with ol.getUid

This commit is contained in:
Peter Robins
2016-07-20 10:50:16 +00:00
parent 29230d48b3
commit f8f2cd11d5
40 changed files with 104 additions and 82 deletions

View File

@@ -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);