Move net2 to net, update dvm
This commit is contained in:
@@ -424,12 +424,13 @@ export const truncate = (
|
||||
currentSize += size
|
||||
|
||||
if (currentSize > minLength) {
|
||||
content = content.slice(0, Math.max(1, i)).concat({type: ParsedType.Ellipsis, value: "…", raw: ""})
|
||||
content = content
|
||||
.slice(0, Math.max(1, i))
|
||||
.concat({type: ParsedType.Ellipsis, value: "…", raw: ""})
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
return true
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user