diff options
| author | Nathan Dinsmore <nathan@users.noreply.github.com> | 2015-06-17 20:08:59 -0400 |
|---|---|---|
| committer | Nathan Dinsmore <nathan@users.noreply.github.com> | 2015-06-17 20:09:43 -0400 |
| commit | d5761b074d0c98c047e7319cf2243a39c7a6a303 (patch) | |
| tree | 87d23123940f35bbfc2bb209394c73c21cd3d2a7 /morphic.js | |
| parent | f54da26e8e4a9d92c93ac58f242ac521b6dbac66 (diff) | |
| download | snap-d5761b074d0c98c047e7319cf2243a39c7a6a303.tar.gz snap-d5761b074d0c98c047e7319cf2243a39c7a6a303.zip | |
Remove clone function (unused)
Diffstat (limited to 'morphic.js')
| -rw-r--r-- | morphic.js | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -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; |
