|
@@ -262,14 +262,6 @@ exports.module = function(phantomas) {
|
|
|
if ((eventName === 'load') && (this[0] === window)) {
|
|
|
phantomas.incrMetric('jQueryWindowOnLoadFunctions');
|
|
|
phantomas.addOffender('jQueryWindowOnLoadFunctions', phantomas.getCaller(2));
|
|
|
-
|
|
|
- phantomas.pushContext({
|
|
|
- type: 'jQuery - windowOnLoad',
|
|
|
- callDetails: {
|
|
|
- arguments: [func]
|
|
|
- },
|
|
|
- backtrace: phantomas.getBacktrace()
|
|
|
- });
|
|
|
}
|
|
|
});
|
|
|
|