Make blocktype work with numbers

This commit is contained in:
walterhiggins 2015-11-08 16:23:02 +00:00
parent e8895d77c0
commit 4aa28c0af3
1 changed files with 13 additions and 1 deletions

View File

@ -294,6 +294,18 @@ var bitmaps = {
' '+
' '+
' ',
'(': ' # '+
' # '+
' # '+
' # '+
' # ',
')': ' # '+
' # '+
' # '+
' # '+
' # ',
' ':' '+
' '+
@ -352,7 +364,7 @@ function blocktype( message, fg, bg, immediate ) {
if ( typeof bg != 'undefined' ) {
bmbg = this.getBlockIdAndMeta( bg );
}
lines = message.split( '\n' );
lines = (''+ message).split( '\n' );
lineCount = lines.length;
for ( h = 0; h < lineCount; h++) {