formatting / links rel
This commit is contained in:
parent
d74d339e4b
commit
594b584500
3 changed files with 16 additions and 15 deletions
|
@ -12,9 +12,7 @@ const analytics = new testPilotGA({
|
|||
});
|
||||
|
||||
function sendEvent() {
|
||||
return analytics.sendEvent
|
||||
.apply(analytics, arguments)
|
||||
.catch(() => 0);
|
||||
return analytics.sendEvent.apply(analytics, arguments).catch(() => 0);
|
||||
}
|
||||
|
||||
function findMetric(href) {
|
||||
|
@ -60,4 +58,4 @@ module.exports = {
|
|||
Raven,
|
||||
sendEvent,
|
||||
findMetric
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue