string concat, not multiple arguments...
This commit is contained in:
parent
1f6a9afae4
commit
c6ef7f4867
1 changed files with 1 additions and 1 deletions
|
@ -1620,7 +1620,7 @@ exports.makeAText = function (text, attribs) {
|
||||||
exports.applyToAText = function (cs, atext, pool) {
|
exports.applyToAText = function (cs, atext, pool) {
|
||||||
var text = exports.applyToText(cs, atext.text)
|
var text = exports.applyToText(cs, atext.text)
|
||||||
if(text[1]){
|
if(text[1]){
|
||||||
throw new Error("newline count is wrong, cs:",cs," and text:",atext)
|
throw new Error("newline count is wrong, cs:"+cs+" and text:"+atext)
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
text: text[0],
|
text: text[0],
|
||||||
|
|
Loading…
Reference in a new issue