()
| 967 | } |
| 968 | } |
| 969 | function onAdd() { |
| 970 | var l = wrap(listener, d3_array(arguments)); |
| 971 | onRemove.call(this); |
| 972 | this.addEventListener(type, this[name] = l, l.$ = capture); |
| 973 | l._ = listener; |
| 974 | } |
| 975 | function removeAll() { |
| 976 | var re = new RegExp("^__on([^.]+)" + d3.requote(type) + "$"), match; |
| 977 | for (var name in this) { |