diff --git a/Source/mod.ts b/Source/mod.ts index 6488daa..decf0df 100644 --- a/Source/mod.ts +++ b/Source/mod.ts @@ -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('') diff --git a/npm/esm/mod.js b/npm/esm/mod.js index 4dee183..ebd9cf2 100644 --- a/npm/esm/mod.js +++ b/npm/esm/mod.js @@ -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(''); diff --git a/npm/package.json b/npm/package.json index 9232930..9cb3600 100644 --- a/npm/package.json +++ b/npm/package.json @@ -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", diff --git a/npm/script/mod.js b/npm/script/mod.js index 540e28b..2fa1b10 100644 --- a/npm/script/mod.js +++ b/npm/script/mod.js @@ -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(''); diff --git a/npm/src/mod.ts b/npm/src/mod.ts index a288d08..9053ef1 100644 --- a/npm/src/mod.ts +++ b/npm/src/mod.ts @@ -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('')