Rename web2d fire event.

This commit is contained in:
Paulo Gustavo Veiga
2014-03-05 00:45:08 -03:00
parent dca67ecd79
commit 1706c25cfd
4 changed files with 5 additions and 6 deletions

View File

@@ -87,8 +87,8 @@ web2d.Element = new Class({
this._peer.addEvent(type, listener);
},
fireEvent : function(type, event) {
this._peer.fireEvent(type, event);
toggle : function(type, event) {
this._peer.toggle(type, event);
},
cloneEvents : function(from) {

View File

@@ -89,7 +89,7 @@ web2d.peer.svg.ElementPeer = new Class({
$(this._native).bind(type, listener);
},
fireEvent:function (type, event) {
toggle:function (type, event) {
$(this._native).toggle(type, event);
},