mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 23:46:14 -04:00
Pad: Delete non-functional debug logging facility
This commit is contained in:
parent
5d39a57507
commit
8d869ec927
7 changed files with 0 additions and 36 deletions
|
@ -22,8 +22,6 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
const Security = require('./security');
|
||||
|
||||
const isNodeText = (node) => (node.nodeType === 3);
|
||||
|
||||
const getAssoc = (obj, name) => obj[`_magicdom_${name}`];
|
||||
|
@ -60,8 +58,6 @@ const binarySearchInfinite = (expectedLength, func) => {
|
|||
return binarySearch(i, func);
|
||||
};
|
||||
|
||||
const htmlPrettyEscape = (str) => Security.escapeHTML(str).replace(/\r?\n/g, '\\n');
|
||||
|
||||
const noop = () => {};
|
||||
|
||||
exports.isNodeText = isNodeText;
|
||||
|
@ -69,5 +65,4 @@ exports.getAssoc = getAssoc;
|
|||
exports.setAssoc = setAssoc;
|
||||
exports.binarySearch = binarySearch;
|
||||
exports.binarySearchInfinite = binarySearchInfinite;
|
||||
exports.htmlPrettyEscape = htmlPrettyEscape;
|
||||
exports.noop = noop;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue