Rename Event listener

Remove hacks
This commit is contained in:
Paulo Veiga
2011-08-21 12:42:00 -03:00
parent 0e854c8942
commit ad13c296ad
42 changed files with 276 additions and 2944 deletions

View File

@@ -96,7 +96,7 @@ mindplot.Note = new Class({
}
var note = this;
image.addEventListener('mouseover', function(event) {
image.addEvent('mouseover', function(event) {
var text = textModel.getText();
text = unescape(text);
text = text.replace(/\n/ig, "<br/>");
@@ -106,10 +106,10 @@ mindplot.Note = new Class({
bubbleTip.open(event, container, note);
}.bind(this));
image.addEventListener('mousemove', function(event) {
image.addEvent('mousemove', function(event) {
bubbleTip.updatePosition(event);
});
image.addEventListener('mouseout', function(event) {
image.addEvent('mouseout', function(event) {
bubbleTip.close(event);
});
},