From b63ddb9df9cb283fc68434cd9ce03ad93f8d5574 Mon Sep 17 00:00:00 2001 From: hensm Date: Sat, 9 Jun 2018 12:03:55 +0100 Subject: [PATCH] Remove obsolete lib directory --- ext/src/lib/utils.js | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 ext/src/lib/utils.js diff --git a/ext/src/lib/utils.js b/ext/src/lib/utils.js deleted file mode 100644 index 4549b9f..0000000 --- a/ext/src/lib/utils.js +++ /dev/null @@ -1,11 +0,0 @@ -"use strict"; - -export function cloneIntoWithProto (obj, destination) { - const ret = cloneInto(obj, destination); - - for (const key of Object.getOwnPropertyNames(obj.__proto__)) { - exportFunction(obj.__proto__[key].bind(obj), ret, { defineAs: key }); - } - - return ret; -}