mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01: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);
|
||||
}
|
||||
|
||||
function object(o) {
|
||||
const f = function () {};
|
||||
f.prototype = o;
|
||||
return new f();
|
||||
}
|
||||
|
||||
function getAssoc(obj, name) {
|
||||
return obj[`_magicdom_${name}`];
|
||||
}
|
||||
|
@ -75,7 +69,6 @@ function htmlPrettyEscape(str) {
|
|||
const noop = function () {};
|
||||
|
||||
exports.isNodeText = isNodeText;
|
||||
exports.object = object;
|
||||
exports.getAssoc = getAssoc;
|
||||
exports.setAssoc = setAssoc;
|
||||
exports.binarySearch = binarySearch;
|
||||
|
|
Loading…
Reference in a new issue