summaryrefslogtreecommitdiff
path: root/morphic.js
diff options
context:
space:
mode:
authorNathan Dinsmore <nathan@users.noreply.github.com>2015-06-17 20:08:59 -0400
committerNathan Dinsmore <nathan@users.noreply.github.com>2015-06-17 20:09:43 -0400
commitd5761b074d0c98c047e7319cf2243a39c7a6a303 (patch)
tree87d23123940f35bbfc2bb209394c73c21cd3d2a7 /morphic.js
parentf54da26e8e4a9d92c93ac58f242ac521b6dbac66 (diff)
downloadsnap-d5761b074d0c98c047e7319cf2243a39c7a6a303.tar.gz
snap-d5761b074d0c98c047e7319cf2243a39c7a6a303.zip
Remove clone function (unused)
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;