mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
remove dead object code
This commit is contained in:
parent
989f42204f
commit
f6eb6bd266
1 changed files with 0 additions and 7 deletions
|
@ -26,12 +26,6 @@ function isNodeText(node) {
|
||||||
return (node.nodeType == 3);
|
return (node.nodeType == 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
function object(o) {
|
|
||||||
const f = function () {};
|
|
||||||
f.prototype = o;
|
|
||||||
return new f();
|
|
||||||
}
|
|
||||||
|
|
||||||
function getAssoc(obj, name) {
|
function getAssoc(obj, name) {
|
||||||
return obj[`_magicdom_${name}`];
|
return obj[`_magicdom_${name}`];
|
||||||
}
|
}
|
||||||
|
@ -75,7 +69,6 @@ function htmlPrettyEscape(str) {
|
||||||
const noop = function () {};
|
const noop = function () {};
|
||||||
|
|
||||||
exports.isNodeText = isNodeText;
|
exports.isNodeText = isNodeText;
|
||||||
exports.object = object;
|
|
||||||
exports.getAssoc = getAssoc;
|
exports.getAssoc = getAssoc;
|
||||||
exports.setAssoc = setAssoc;
|
exports.setAssoc = setAssoc;
|
||||||
exports.binarySearch = binarySearch;
|
exports.binarySearch = binarySearch;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue