mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-28 11:26:16 -04:00
document splitAttributionLines
This commit is contained in:
parent
3b9c321991
commit
f0b5e04258
1 changed files with 9 additions and 0 deletions
|
@ -1261,6 +1261,15 @@ exports.joinAttributionLines = function (theAlines) {
|
|||
return assem.toString();
|
||||
};
|
||||
|
||||
/**
|
||||
* Splits attribution operations so that every line in the text has its own attribution string
|
||||
* It needs text to find the position of newlines
|
||||
*
|
||||
* @param attrOps The attribute string
|
||||
* @param text content
|
||||
* @returns lines {Array} one attribution string for every line
|
||||
*/
|
||||
}
|
||||
exports.splitAttributionLines = function (attrOps, text) {
|
||||
var iter = exports.opIterator(attrOps);
|
||||
var assem = exports.mergingOpAssembler();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue