remove dead object code

pull/4569/head
John McLear 2020-12-21 20:25:17 +00:00 committed by Richard Hansen
parent 989f42204f
commit f6eb6bd266
1 changed files with 0 additions and 7 deletions

View File

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