Rename _ol_Observable_ to Observable

This commit is contained in:
Tim Schaub
2018-01-08 10:01:38 -07:00
parent 1c1f008238
commit 35db8721b2
8 changed files with 32 additions and 32 deletions

View File

@@ -1,6 +1,6 @@
import Source from '../../../../src/ol/source/Source.js';
import _ol_source_TileJSON_ from '../../../../src/ol/source/TileJSON.js';
import _ol_Observable_ from '../../../../src/ol/Observable.js';
import Observable from '../../../../src/ol/Observable.js';
describe('ol.source.TileJSON', function() {
@@ -115,7 +115,7 @@ describe('ol.source.TileJSON', function() {
});
var key = source.on('change', function() {
if (source.getState() === 'ready') {
_ol_Observable_.unByKey(key);
Observable.unByKey(key);
tileGrid = source.getTileGrid();
done();
}