FIX: Missing close paren
This commit is contained in:
parent
5323d3fc29
commit
773cf60224
|
@ -1281,8 +1281,7 @@
|
|||
|
||||
// No closing ']' found. Just consume the [
|
||||
if ( !res[1] ) {
|
||||
var size = res[0] + 1;
|
||||
return [ size, text.charAt(0) + res[2].join('') ];
|
||||
return [ res[0] + 1, text.charAt(0) ].concat(res[2]);
|
||||
}
|
||||
|
||||
var consumed = 1 + res[ 0 ],
|
||||
|
|
Loading…
Reference in New Issue