FIX: Missing close paren

This commit is contained in:
Robin Ward 2014-05-08 16:04:48 -04:00
parent 5323d3fc29
commit 773cf60224
1 changed files with 1 additions and 2 deletions
vendor/assets/javascripts

View File

@ -1281,8 +1281,7 @@
// No closing ']' found. Just consume the [ // No closing ']' found. Just consume the [
if ( !res[1] ) { if ( !res[1] ) {
var size = res[0] + 1; return [ res[0] + 1, text.charAt(0) ].concat(res[2]);
return [ size, text.charAt(0) + res[2].join('') ];
} }
var consumed = 1 + res[ 0 ], var consumed = 1 + res[ 0 ],