MCPcopy Create free account
hub / github.com/ORCID/orcid-angular / u

Method u

scripts/new-relic.runtime.js:3134–3162  ·  view source on GitHub ↗
(e, t)

Source from the content-addressed store, hash-verified

3132 }
3133 }
3134 function u(e, t) {
3135 var n = this.metrics,
3136 i = e[0],
3137 s = this
3138 if (n && i) {
3139 var a = se(i)
3140 a && (n.txSize = a)
3141 }
3142 ;(this.startTime = (0, o.t)()),
3143 (this.body = i),
3144 (this.listener = function (e) {
3145 try {
3146 'abort' !== e.type ||
3147 s.loadCaptureCalled ||
3148 (s.params.aborted = !0),
3149 ('load' !== e.type ||
3150 (s.called === s.totalCbs &&
3151 (s.onloadCalled || 'function' != typeof t.onload) &&
3152 'function' == typeof s.end)) &&
3153 s.end(t)
3154 } catch (e) {
3155 try {
3156 r.emit('internal-error', [e])
3157 } catch (e) {}
3158 }
3159 })
3160 for (var c = 0; c < _e; c++)
3161 t.addEventListener(Se[c], this.listener, (0, P.jT)(!1))
3162 }
3163 function l(e, t, r) {
3164 ;(this.cbTime += e),
3165 t ? (this.onloadCalled = !0) : (this.called += 1),

Callers 1

Calls 2

seFunction · 0.85
addEventListenerMethod · 0.80

Tested by

no test coverage detected