Comparing version 0.0.2 to 0.1.0
{ | ||
"name": "qlt", | ||
"version": "0.0.2", | ||
"version": "0.1.0", | ||
"description": "Quick logging tool", | ||
@@ -5,0 +5,0 @@ "main": "qlt.js", |
11
qlt.js
@@ -26,2 +26,3 @@ /* | ||
var inspect = require('util').inspect; | ||
var EOL = require('os').EOL; | ||
@@ -32,3 +33,3 @@ Number.prototype.__defineGetter__('log', function() { | ||
Number.prototype.__defineGetter__('logn', function() { | ||
process.stdout.write(this.toString()+'\n'); | ||
process.stdout.write(this.toString()+EOL); | ||
}); | ||
@@ -39,3 +40,3 @@ String.prototype.__defineGetter__('log', function() { | ||
String.prototype.__defineGetter__('logn', function() { | ||
process.stdout.write(this.valueOf()+'\n'); | ||
process.stdout.write(this.valueOf()+EOL); | ||
}); | ||
@@ -46,3 +47,3 @@ Array.prototype.__defineGetter__('log', function() { | ||
Array.prototype.__defineGetter__('logn', function() { | ||
process.stdout.write('['+this.toString()+']\n'); | ||
process.stdout.write('['+this.toString()+']'+EOL); | ||
}); | ||
@@ -53,3 +54,3 @@ Boolean.prototype.__defineGetter__('log', function() { | ||
Boolean.prototype.__defineGetter__('logn', function() { | ||
process.stdout.write(this.toString()+'\n'); | ||
process.stdout.write(this.toString()+EOL); | ||
}); | ||
@@ -60,3 +61,3 @@ Object.prototype.__defineGetter__('print', function() { | ||
Object.prototype.__defineGetter__('logn', function() { | ||
process.stdout.write(inspect(this)+'\n'); | ||
process.stdout.write(inspect(this)+EOL); | ||
}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4625
54