Simplify hit detection code

This commit is contained in:
Éric Lemoine
2014-12-05 15:42:54 +01:00
parent 571cd1c57a
commit fdf52c1865
12 changed files with 142 additions and 158 deletions

View File

@@ -33,7 +33,7 @@ describe('ol.renderer.vector', function() {
// call #1
ol.renderer.vector.renderFeature(replayGroup, feature,
style, 1, feature, listener, listenerThis);
style, 1, listener, listenerThis);
expect(iconStyleLoadSpy.calledOnce).to.be.ok();
listeners = goog.events.getListeners(
@@ -42,7 +42,7 @@ describe('ol.renderer.vector', function() {
// call #2
ol.renderer.vector.renderFeature(replayGroup, feature,
style, 1, feature, listener, listenerThis);
style, 1, listener, listenerThis);
expect(iconStyleLoadSpy.calledOnce).to.be.ok();
listeners = goog.events.getListeners(