Replace goog.nullFunction with ol.nullFunction
This commit is contained in:
@@ -181,14 +181,14 @@ describe('ol.style.IconImageCache', function() {
|
||||
src = '0';
|
||||
iconImage = new ol.style.IconImage_(src, null);
|
||||
goog.events.listen(iconImage, goog.events.EventType.CHANGE,
|
||||
goog.nullFunction, false);
|
||||
ol.nullFunction, false);
|
||||
cache.set(src, null, iconImage);
|
||||
expect(cache.cacheSize_).to.eql(4);
|
||||
|
||||
src = '4';
|
||||
iconImage = new ol.style.IconImage_(src, null);
|
||||
goog.events.listen(iconImage, goog.events.EventType.CHANGE,
|
||||
goog.nullFunction, false);
|
||||
ol.nullFunction, false);
|
||||
cache.set(src, null, iconImage);
|
||||
expect(cache.cacheSize_).to.eql(5);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user