mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 13:38:26 +02:00
Capture better stack traces
This commit is contained in:
Vendored
+1
@@ -1227,6 +1227,7 @@ function d3_selection_on(type, listener, capture) {
|
||||
|
||||
function onAdd() {
|
||||
var l = wrap(listener, d3_array(arguments));
|
||||
if (typeof Raven !== 'undefined') l = Raven.wrap(l);
|
||||
onRemove.call(this);
|
||||
this.addEventListener(type, this[name] = l, l.$ = capture);
|
||||
l._ = listener;
|
||||
|
||||
Reference in New Issue
Block a user