summaryrefslogtreecommitdiff
path: root/morphic.js
diff options
context:
space:
mode:
Diffstat (limited to 'morphic.js')
-rw-r--r--morphic.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/morphic.js b/morphic.js
index 6ce8559..e23812a 100644
--- a/morphic.js
+++ b/morphic.js
@@ -1242,16 +1242,6 @@ function getDocumentPositionOf(aDOMelement) {
return pos;
}
-function clone(target) {
- // answer a new instance of target's type
- if (typeof target === 'object') {
- var Clone = function () {nop(); };
- Clone.prototype = target;
- return new Clone();
- }
- return target;
-}
-
function copy(target) {
// answer a shallow copy of target
var value, c, property;