diff --git a/demo/sqlite-parser-demo.js b/demo/sqlite-parser-demo.js index e047dde..3a32681 100644 --- a/demo/sqlite-parser-demo.js +++ b/demo/sqlite-parser-demo.js @@ -28103,28 +28103,6 @@ module.exports = (function() { var lodash = require('lodash'); module.exports = (function (_) { - function log(event) { - function repeat(string, n) { - var result = "", i; - - for (i = 0; i < n; i++) { - result += string; - } - - return result; - } - - function pad(string, length) { - return string + repeat(" ", length - string.length); - } - - console.log( - event.location.start.line + ":" + event.location.start.column + "-" - + event.location.end.line + ":" + event.location.end.column + " " - + pad(event.type, 10) + " " - + repeat(" ", event.indentation) + event.rule - ); - } Tracer = function Tracer() { if (!(this instanceof Tracer)) { return new Tracer(); diff --git a/dist/sqlite-parser.js b/dist/sqlite-parser.js index bccb409..bc15655 100644 --- a/dist/sqlite-parser.js +++ b/dist/sqlite-parser.js @@ -28230,28 +28230,6 @@ module.exports = (function() { var lodash = require('lodash'); module.exports = (function (_) { - function log(event) { - function repeat(string, n) { - var result = "", i; - - for (i = 0; i < n; i++) { - result += string; - } - - return result; - } - - function pad(string, length) { - return string + repeat(" ", length - string.length); - } - - console.log( - event.location.start.line + ":" + event.location.start.column + "-" - + event.location.end.line + ":" + event.location.end.column + " " - + pad(event.type, 10) + " " - + repeat(" ", event.indentation) + event.rule - ); - } Tracer = function Tracer() { if (!(this instanceof Tracer)) { return new Tracer(); diff --git a/lib/tracer.js b/lib/tracer.js index db965b7..983ed85 100644 --- a/lib/tracer.js +++ b/lib/tracer.js @@ -6,28 +6,6 @@ var lodash = require('lodash'); module.exports = (function (_) { - function log(event) { - function repeat(string, n) { - var result = "", i; - - for (i = 0; i < n; i++) { - result += string; - } - - return result; - } - - function pad(string, length) { - return string + repeat(" ", length - string.length); - } - - console.log( - event.location.start.line + ":" + event.location.start.column + "-" - + event.location.end.line + ":" + event.location.end.column + " " - + pad(event.type, 10) + " " - + repeat(" ", event.indentation) + event.rule - ); - } Tracer = function Tracer() { if (!(this instanceof Tracer)) { return new Tracer(); diff --git a/src/tracer.js b/src/tracer.js index db965b7..983ed85 100644 --- a/src/tracer.js +++ b/src/tracer.js @@ -6,28 +6,6 @@ var lodash = require('lodash'); module.exports = (function (_) { - function log(event) { - function repeat(string, n) { - var result = "", i; - - for (i = 0; i < n; i++) { - result += string; - } - - return result; - } - - function pad(string, length) { - return string + repeat(" ", length - string.length); - } - - console.log( - event.location.start.line + ":" + event.location.start.column + "-" - + event.location.end.line + ":" + event.location.end.column + " " - + pad(event.type, 10) + " " - + repeat(" ", event.indentation) + event.rule - ); - } Tracer = function Tracer() { if (!(this instanceof Tracer)) { return new Tracer();