From 4bba46b53eb93de669b91c3078cd04ac13a0647c Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 20 Dec 2015 20:05:06 +0100 Subject: payment --- extension/popup/balance-overview.tsx | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'extension/popup/balance-overview.tsx') diff --git a/extension/popup/balance-overview.tsx b/extension/popup/balance-overview.tsx index bc0e80ee6..a78111bb1 100644 --- a/extension/popup/balance-overview.tsx +++ b/extension/popup/balance-overview.tsx @@ -1,22 +1,5 @@ "use strict"; -let React = { - createElement: function(tag, props, ...children) { - let e = document.createElement(tag); - for (let k in props) { - e.setAttribute(k, props[k]); - } - for (let child of children) { - if ("string" === typeof child || "number" == typeof child) { - child = document.createTextNode(child); - } - e.appendChild(child); - } - return e; - } -}; - - document.addEventListener('DOMContentLoaded', (e) => { console.log("content loaded"); chrome.runtime.sendMessage({type: "balances"}, function(wallet) { -- cgit v1.2.3