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:
Kevin Kwok
2009-09-02 16:51:11 +00:00
parent 8eeb97176f
commit 74cb13b6d7

View File

@@ -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) {