Fix assert documentation typo

This commit is contained in:
Guillaume Beraudo
2015-06-10 12:27:03 +02:00
parent fad3cf9672
commit d48e818390

View File

@@ -224,7 +224,7 @@ ol.source.Vector.prototype.addFeatureInternal = function(feature) {
*/
ol.source.Vector.prototype.setupChangeEvents_ = function(featureKey, feature) {
goog.asserts.assert(!(featureKey in this.featureChangeKeys_),
'key (%s) not yet registered in featurChangeKey', featureKey);
'key (%s) not yet registered in featureChangeKey', featureKey);
this.featureChangeKeys_[featureKey] = [
goog.events.listen(feature,
goog.events.EventType.CHANGE,