Skip to content

Commit

Permalink
Removed debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
PhoneDroid committed Feb 26, 2024
1 parent e679b98 commit 7655e0a
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion Source/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ function pixelify ( text : string ){

return upper
.map(( pair , index ) => [ pair , lower[ index ] ?? [ 0 , 0 ] ])
.map(( block ) => (console.log(block,block[0][0] * 8 + block[0][1] * 4 + block[1][0] * 2 + block[1][1],Blocks[block[0][0] * 8 + block[0][1] * 4 + block[1][0] * 2 + block[1][1]]),block))
.map(( block ) => block[0][0] * 8 + block[0][1] * 4 + block[1][0] * 2 + block[1][1] )
.map(( index ) => Blocks[ index ] )
.join('')
Expand Down
1 change: 0 additions & 1 deletion npm/esm/mod.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ function pixelify(text) {
lower = lower.map(([first, second]) => [first, second ?? 0]);
return upper
.map((pair, index) => [pair, lower[index] ?? [0, 0]])
.map((block) => (console.log(block, block[0][0] * 8 + block[0][1] * 4 + block[1][0] * 2 + block[1][1], Blocks[block[0][0] * 8 + block[0][1] * 4 + block[1][0] * 2 + block[1][1]]), block))
.map((block) => block[0][0] * 8 + block[0][1] * 4 + block[1][0] * 2 + block[1][1])
.map((index) => Blocks[index])
.join('');
Expand Down
2 changes: 1 addition & 1 deletion npm/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@pordeno/ascii-font",
"description": "Font made of ASCII characters",
"version": "1.0.2",
"version": "1.0.3",

"repository": {
"type": "git",
Expand Down
1 change: 0 additions & 1 deletion npm/script/mod.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ function pixelify(text) {
lower = lower.map(([first, second]) => [first, second ?? 0]);
return upper
.map((pair, index) => [pair, lower[index] ?? [0, 0]])
.map((block) => (console.log(block, block[0][0] * 8 + block[0][1] * 4 + block[1][0] * 2 + block[1][1], Blocks[block[0][0] * 8 + block[0][1] * 4 + block[1][0] * 2 + block[1][1]]), block))
.map((block) => block[0][0] * 8 + block[0][1] * 4 + block[1][0] * 2 + block[1][1])
.map((index) => Blocks[index])
.join('');
Expand Down
1 change: 0 additions & 1 deletion npm/src/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ function pixelify ( text : string ){

return upper
.map(( pair , index ) => [ pair , lower[ index ] ?? [ 0 , 0 ] ])
.map(( block ) => (console.log(block,block[0][0] * 8 + block[0][1] * 4 + block[1][0] * 2 + block[1][1],Blocks[block[0][0] * 8 + block[0][1] * 4 + block[1][0] * 2 + block[1][1]]),block))
.map(( block ) => block[0][0] * 8 + block[0][1] * 4 + block[1][0] * 2 + block[1][1] )
.map(( index ) => Blocks[ index ] )
.join('')
Expand Down

0 comments on commit 7655e0a

Please sign in to comment.