Skip to content

Commit 05787d9

Browse files
committed
Removed profiling console.log()s
1 parent 53e6e98 commit 05787d9

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ See the [Version 1.0 Release Announcement](https://github.com/metafloor/bwip-js/
2828
2929
## Status
3030

31-
* Current bwip-js version is 1.3.0 (2017-04-04)
31+
* Current bwip-js version is 1.3.1 (2017-04-10)
3232
* Current BWIPP version is 2017-04-04
3333
* Node.js compatibility >= v0.10
3434

demo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@
297297
</head><body>
298298
<div id="header">
299299
<div id="bwipjs">bwip-js // Barcode Writer in Pure JavaScript</div>
300-
<div id="version">bwip-js 1.3.0 (2017-04-04) / BWIPP 2017-04-04</div>
300+
<div id="version">bwip-js 1.3.1 (2017-04-10) / BWIPP 2017-04-04</div>
301301
<div id="fonthdr">&#x25bc; Fonts</div>
302302
<div id="fontdiv" style="visibility:hidden">
303303
<div class="inner">

node-bwipjs.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,9 @@ module.exports.toBuffer = function(args, callback) {
134134
callback('' + e);
135135
}
136136
var ts2 = Date.now();
137-
console.log('Encoded in: ' + (ts1-ts0) + ' msecs');
138-
console.log('Rendered in: ' + (ts2-ts1) + ' msecs');
139-
console.log('Elapsed: ' + (ts2-ts0) + ' msecs');
137+
//console.log('Encoded in: ' + (ts1-ts0) + ' msecs');
138+
//console.log('Rendered in: ' + (ts2-ts1) + ' msecs');
139+
//console.log('Elapsed: ' + (ts2-ts0) + ' msecs');
140140
}
141141

142142
module.exports.loadFont = function(fontname, sizemult, fontfile) {
@@ -160,7 +160,7 @@ module.exports.unloadFont = function(fontname) {
160160
freetype.unlink('/' + fontname);
161161
}
162162

163-
module.exports.bwipjs_version = "1.3.0 (2017-04-04)";
163+
module.exports.bwipjs_version = "1.3.1 (2017-04-10)";
164164
module.exports.bwipp_version = "2017-04-04";
165165

166166

@@ -315,9 +315,9 @@ function Bitmap(bgcolor) {
315315
var ts1 = Date.now();
316316
return png.render(function(err,png) {
317317
var ts2 = Date.now();
318-
console.log('js rendering: ' + (ts1-ts0) + ' msecs');
319-
console.log('zlib rendering: ' + (ts2-ts1) + ' msecs');
320-
console.log('png rendering: ' + (ts2-ts0) + ' msecs');
318+
//console.log('js rendering: ' + (ts1-ts0) + ' msecs');
319+
//console.log('zlib rendering: ' + (ts2-ts1) + ' msecs');
320+
//console.log('png rendering: ' + (ts2-ts0) + ' msecs');
321321
callback(err, png);
322322
});
323323

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bwip-js",
3-
"version": "1.3.0",
3+
"version": "1.3.1",
44
"description": "Barcode generator supporting over 90 types and standards.",
55
"main": "node-bwipjs",
66
"bin": {

0 commit comments

Comments
 (0)