Change ol.Object event name syntax

'changed' to 'change' and '<attribute>_changed' to 'change:<attribute>'.
This commit is contained in:
Frederic Junod
2013-05-07 16:09:19 +02:00
parent 5e5d8e5b17
commit 984002a7ec
10 changed files with 46 additions and 46 deletions

View File

@@ -34,10 +34,10 @@ ol.dom.Input = function(target) {
this.handleInputChanged_, false, this);
goog.events.listen(this,
ol.Object.getChangedEventType(ol.dom.InputProperty.VALUE),
ol.Object.getChangeEventType(ol.dom.InputProperty.VALUE),
this.handleValueChanged_, false, this);
goog.events.listen(this,
ol.Object.getChangedEventType(ol.dom.InputProperty.CHECKED),
ol.Object.getChangeEventType(ol.dom.InputProperty.CHECKED),
this.handleCheckedChanged_, false, this);
};
goog.inherits(ol.dom.Input, ol.Object);