bind now returns the previously bound function
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@524 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -2584,7 +2584,9 @@ function SvgCanvas(c)
|
||||
};
|
||||
|
||||
this.bind = function(event, f) {
|
||||
var old = events[event];
|
||||
events[event] = f;
|
||||
return old;
|
||||
};
|
||||
|
||||
this.setIdPrefix = function(p) {
|
||||
|
||||
Reference in New Issue
Block a user