Use goog.functions.identity where it makes sense

This commit is contained in:
Éric Lemoine
2014-04-07 16:59:04 +02:00
parent eac9b71b95
commit ce0b1d2a47
2 changed files with 5 additions and 9 deletions

View File

@@ -735,9 +735,7 @@ ol.interaction.Modify.prototype.removeVertex_ = function() {
/**
* @inheritDoc
*/
ol.interaction.Modify.prototype.shouldStopEvent = function(handled) {
return handled;
};
ol.interaction.Modify.prototype.shouldStopEvent = goog.functions.identity;
/**