Remove use of goog.dispose()
This commit is contained in:
@@ -13,7 +13,7 @@ describe('ol.layer.Tile', function() {
|
||||
});
|
||||
|
||||
afterEach(function() {
|
||||
goog.dispose(layer);
|
||||
layer.dispose();
|
||||
});
|
||||
|
||||
it('creates an instance', function() {
|
||||
@@ -32,6 +32,5 @@ describe('ol.layer.Tile', function() {
|
||||
|
||||
});
|
||||
|
||||
goog.require('goog.dispose');
|
||||
goog.require('ol.layer.Tile');
|
||||
goog.require('ol.source.OSM');
|
||||
|
||||
Reference in New Issue
Block a user