Remove use of goog.dispose()

This commit is contained in:
Tim Schaub
2016-03-01 23:35:22 -07:00
parent df4f154a93
commit ae4d8195c0
25 changed files with 65 additions and 86 deletions

View File

@@ -370,7 +370,7 @@
global.disposeMap = function(map) {
var target = map.getTarget();
map.setTarget(null);
goog.dispose(map);
map.dispose();
document.body.removeChild(target);
};