Pad: Delete non-functional debug logging facility

This commit is contained in:
Richard Hansen 2021-07-27 18:34:33 -04:00
parent 5d39a57507
commit 8d869ec927
7 changed files with 0 additions and 36 deletions

View file

@ -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;