We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed4294c commit 32965d9Copy full SHA for 32965d9
vendor/TraceKit/tracekit.js
@@ -15,24 +15,6 @@ var TraceKit = {
15
var _slice = [].slice;
16
var UNKNOWN_FUNCTION = '?';
17
18
-/**
19
- * TraceKit.wrap: Wrap any function in a TraceKit reporter
20
- * Example: func = TraceKit.wrap(func);
21
- *
22
- * @param {Function} func Function to be wrapped
23
- * @return {Function} The wrapped func
24
- */
25
-TraceKit.wrap = function traceKitWrapper(func) {
26
- function wrapped() {
27
- try {
28
- return func.apply(this, arguments);
29
- } catch (e) {
30
- TraceKit.report(e);
31
- throw e;
32
- }
33
34
- return wrapped;
35
-};
36
37
function getLocationHref() {
38
if (typeof document === 'undefined')
0 commit comments