diff options
author | Dan Bornstein <danfuzz@milk.com> | 2016-09-08 09:46:13 -0700 |
---|---|---|
committer | Dan Bornstein <danfuzz@milk.com> | 2016-09-08 09:46:13 -0700 |
commit | a0403ffc22da6e94c88f89ea0ff0d65704947415 (patch) | |
tree | 1fec2327b93b3ecc26c403ced54a2037f5676290 /src/node/utils | |
parent | 879ae7c67d6b0c7fa78e0e09435861e5509678a8 (diff) | |
download | etherpad-lite-a0403ffc22da6e94c88f89ea0ff0d65704947415.zip |
Remove unused parameter `noDocType`.
My editor also auto-stripped some EOL whitespace.
Diffstat (limited to 'src/node/utils')
-rw-r--r-- | src/node/utils/ExportTxt.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/node/utils/ExportTxt.js b/src/node/utils/ExportTxt.js index a6bec4a5..e3ce0152 100644 --- a/src/node/utils/ExportTxt.js +++ b/src/node/utils/ExportTxt.js @@ -192,7 +192,7 @@ function getTXTFromAtext(pad, atext, authorColors) tags2close.push(i); } } - + for (var i = 0; i < propVals.length; i++) { if (propVals[i] === ENTER || propVals[i] === STAY) @@ -208,10 +208,10 @@ function getTXTFromAtext(pad, atext, authorColors) { chars--; // exclude newline at end of line, if present } - + var s = taker.take(chars); - // removes the characters with the code 12. Don't know where they come + // removes the characters with the code 12. Don't know where they come // from but they break the abiword parser and are completly useless // s = s.replace(String.fromCharCode(12), ""); @@ -221,7 +221,7 @@ function getTXTFromAtext(pad, atext, authorColors) assem.append(s); } // end iteration over spans in line - + var tags2close = []; for (var i = propVals.length - 1; i >= 0; i--) { @@ -231,7 +231,7 @@ function getTXTFromAtext(pad, atext, authorColors) propVals[i] = false; } } - + } // end processNextChars processNextChars(text.length - idx); return(assem.toString()); @@ -271,7 +271,7 @@ function getTXTFromAtext(pad, atext, authorColors) } exports.getTXTFromAtext = getTXTFromAtext; -exports.getPadTXTDocument = function (padId, revNum, noDocType, callback) +exports.getPadTXTDocument = function (padId, revNum, callback) { padManager.getPad(padId, function (err, pad) { |