Replace goog.nullFunction with ol.nullFunction

This commit is contained in:
Frederic Junod
2015-11-23 11:18:20 +01:00
parent a2011b035d
commit cacf2629fd
2 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -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);