From 99fe0914d11f936547876dc110f16081180b545a Mon Sep 17 00:00:00 2001 From: amy Date: Thu, 23 Feb 2023 19:41:22 +0000 Subject: uwu --- src/common.js | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) (limited to 'src/common.js') diff --git a/src/common.js b/src/common.js index 5606706..a3309d9 100644 --- a/src/common.js +++ b/src/common.js @@ -1,22 +1,11 @@ -Object.prototype.clone = Array.prototype.clone = function() //https://stackoverflow.com/questions/12690107/clone-object-without-reference-javascript -{ - if (Object.prototype.toString.call(this) === '[object Array]') - { - var clone = []; - for (var i=0; i 0) { + el.appendChild(div.children[0]); + } } \ No newline at end of file -- cgit v1.2.3