From dcd06a629a00943515bf98813a52229d3adf7459 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20M=C3=A9tais?= Date: Mon, 25 Aug 2014 14:32:39 +0200 Subject: [PATCH] Remove some phantomas.log, i want phantomas to be fast --- phantomas_custom/modules/domQYLT/domQYLT.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phantomas_custom/modules/domQYLT/domQYLT.js b/phantomas_custom/modules/domQYLT/domQYLT.js index da3925c..819c501 100644 --- a/phantomas_custom/modules/domQYLT/domQYLT.js +++ b/phantomas_custom/modules/domQYLT/domQYLT.js @@ -163,7 +163,7 @@ exports.module = function(phantomas) { phantomas.incrMetric('DOMinserts'); 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) { @@ -218,7 +218,7 @@ exports.module = function(phantomas) { DOMqueries = new Collection(); 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'); var domQuery = {