Remove unused 'caller' in the JS execution tree
This commit is contained in:
@@ -36,7 +36,6 @@ exports.module = function(phantomas) {
|
||||
},
|
||||
arguments: ['#' + id]
|
||||
},
|
||||
caller: phantomas.getCaller(1),
|
||||
backtrace: phantomas.getBacktrace()
|
||||
});
|
||||
|
||||
@@ -60,7 +59,6 @@ exports.module = function(phantomas) {
|
||||
},
|
||||
arguments: ['.' + className]
|
||||
},
|
||||
caller: phantomas.getCaller(1),
|
||||
backtrace: phantomas.getBacktrace()
|
||||
});
|
||||
}
|
||||
@@ -86,7 +84,6 @@ exports.module = function(phantomas) {
|
||||
},
|
||||
arguments: [tagName]
|
||||
},
|
||||
caller: phantomas.getCaller(1),
|
||||
backtrace: phantomas.getBacktrace()
|
||||
});
|
||||
}
|
||||
@@ -115,7 +112,6 @@ exports.module = function(phantomas) {
|
||||
},
|
||||
arguments: [selector]
|
||||
},
|
||||
caller: phantomas.getCaller(1),
|
||||
backtrace: phantomas.getBacktrace()
|
||||
});
|
||||
}
|
||||
@@ -134,7 +130,6 @@ exports.module = function(phantomas) {
|
||||
},
|
||||
arguments: [selector]
|
||||
},
|
||||
caller: phantomas.getCaller(1),
|
||||
backtrace: phantomas.getBacktrace()
|
||||
});
|
||||
}
|
||||
@@ -181,7 +176,6 @@ exports.module = function(phantomas) {
|
||||
},
|
||||
arguments: [appended]
|
||||
},
|
||||
caller: phantomas.getCaller(1),
|
||||
backtrace: phantomas.getBacktrace()
|
||||
});
|
||||
}
|
||||
@@ -201,7 +195,6 @@ exports.module = function(phantomas) {
|
||||
},
|
||||
arguments: [appended]
|
||||
},
|
||||
caller: phantomas.getCaller(1),
|
||||
backtrace: phantomas.getBacktrace()
|
||||
});
|
||||
}
|
||||
|
||||
@@ -31,7 +31,6 @@ exports.module = function(phantomas) {
|
||||
},
|
||||
arguments: [eventType]
|
||||
},
|
||||
caller: phantomas.getCaller(1),
|
||||
backtrace: phantomas.getBacktrace()
|
||||
});
|
||||
}
|
||||
|
||||
@@ -143,7 +143,6 @@ function get_type(thing){
|
||||
callDetails: {
|
||||
arguments: ['version ' + version]
|
||||
},
|
||||
caller: phantomas.getCaller(1),
|
||||
backtrace: phantomas.getBacktrace()
|
||||
});
|
||||
|
||||
@@ -157,7 +156,6 @@ function get_type(thing){
|
||||
callDetails: {
|
||||
arguments: [func]
|
||||
},
|
||||
caller: phantomas.getCaller(1),
|
||||
backtrace: phantomas.getBacktrace()
|
||||
});
|
||||
|
||||
@@ -179,7 +177,6 @@ function get_type(thing){
|
||||
},
|
||||
arguments: [selector]
|
||||
},
|
||||
caller: phantomas.getCaller(3),
|
||||
backtrace: phantomas.getBacktrace()
|
||||
});
|
||||
|
||||
@@ -200,7 +197,6 @@ function get_type(thing){
|
||||
},
|
||||
arguments: [eventTypes, func]
|
||||
},
|
||||
caller: phantomas.getCaller(3),
|
||||
backtrace: phantomas.getBacktrace()
|
||||
});
|
||||
|
||||
@@ -280,7 +276,6 @@ function get_type(thing){
|
||||
},
|
||||
arguments: args
|
||||
},
|
||||
caller: phantomas.getCaller(3),
|
||||
backtrace: phantomas.getBacktrace()
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user