code: function (id) {
  				// connections.
  				_addOneDelegate(id, ".jsplumb-connector > *", function (e) {
  					_oneDelegateHandler(id, e);
  				});
  				// endpoints. note they can have an enclosing div, or not.
  				_addOneDelegate(id, ".jsplumb-endpoint, .jsplumb-endpoint > *, .jsplumb-endpoint svg *", function (e) {
  					_oneDelegateHandler(id, e);
  				});
  				// overlays
  				_addOneDelegate(id, ".jsplumb-overlay, .jsplumb-overlay *", function (e) {
  					_oneDelegateHandler(id, e);
  				});
  			}
docs: delegate one event on the container to jsplumb elements. it might be possible to abstract this out: each of endpoint, connection and overlay could register themselves with jsplumb as "component types" or whatever, and provide a suitable selector. this would be done by the renderer (although admittedly from 2.0 onwards we're not supporting vml anymore)