Browse Source

Remove some phantomas.log, i want phantomas to be fast

Gaël Métais 11 years ago
parent
commit
dcd06a629a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      phantomas_custom/modules/domQYLT/domQYLT.js

+ 2 - 2
phantomas_custom/modules/domQYLT/domQYLT.js

@@ -163,7 +163,7 @@ exports.module = function(phantomas) {
                     phantomas.incrMetric('DOMinserts');
                     phantomas.incrMetric('DOMinserts');
                     phantomas.addOffender('DOMinserts', '"%s" appended to "%s"', appended, context);
                     phantomas.addOffender('DOMinserts', '"%s" appended to "%s"', appended, context);
 
 
-                    phantomas.log('DOM insert: node "%s" appended to "%s"', appended, context);
+                    //phantomas.log('DOM insert: node "%s" appended to "%s"', appended, context);
                 }
                 }
 
 
                 function appendChildSpyBefore(child) {
                 function appendChildSpyBefore(child) {
@@ -218,7 +218,7 @@ exports.module = function(phantomas) {
         DOMqueries = new Collection();
         DOMqueries = new Collection();
 
 
     phantomas.on('domQuery', function(type, query, fnName, context) {
     phantomas.on('domQuery', function(type, query, fnName, context) {
-        phantomas.log('DOM query: by %s - "%s" (using %s on context %s)', type, query, fnName, context);
+        //phantomas.log('DOM query: by %s - "%s" (using %s on context %s)', type, query, fnName, context);
         phantomas.incrMetric('DOMqueries');
         phantomas.incrMetric('DOMqueries');
 
 
         var domQuery = {
         var domQuery = {