소스 검색

Remove duplicated spying of window.onload

Gaël Métais 10 년 전
부모
커밋
dc2f6e17cd
1개의 변경된 파일0개의 추가작업 그리고 8개의 파일을 삭제
  1. 0 8
      lib/tools/phantomas/custom_modules/modules/jQYLT/jQYLT.js

+ 0 - 8
lib/tools/phantomas/custom_modules/modules/jQYLT/jQYLT.js

@@ -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()
-                            });
                         }
                     });