Make blocktype work with numbers
This commit is contained in:
parent
e8895d77c0
commit
4aa28c0af3
1 changed files with 13 additions and 1 deletions
|
@ -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++) {
|
||||
|
|
Reference in a new issue