Remove use of goog.array.filter

This commit is contained in:
Frederic Junod
2015-09-24 09:57:20 +02:00
parent 9e2a393426
commit f49e82ade1
2 changed files with 2 additions and 4 deletions

View File

@@ -270,7 +270,7 @@ describe('ol.interaction.Modify', function() {
getListeners = function(feature, modify) {
var listeners = goog.events.getListeners(
feature, goog.events.EventType.CHANGE, false);
return goog.array.filter(listeners, function(listener) {
return listeners.filter(function(listener) {
return listener.handler == modify;
});
};
@@ -317,7 +317,6 @@ describe('ol.interaction.Modify', function() {
});
goog.require('goog.array');
goog.require('goog.dispose');
goog.require('goog.events');
goog.require('goog.events.EventType');