From abbfe92f850309e5a2307c90760312aba14f5db2 Mon Sep 17 00:00:00 2001 From: vineetbhargav86 Date: Wed, 10 Feb 2016 21:24:07 +0545 Subject: [PATCH] added preffered exchange setting and instantdex integration test without GUI output --- iguana/app/startup.js | 4 + iguana/index.html | 8 +- iguana/js/api.js | 8 +- iguana/js/blockexplorer.js | 6 +- iguana/js/instantdex.js | 185 ++++++++++++++--- iguana/js/settings.js | 27 ++- iguana/js/tradebot.js | 42 +++- iguana/js/tradeintegration.js | 381 ++++++++++++++++++++++++++++++++++ 8 files changed, 625 insertions(+), 36 deletions(-) create mode 100644 iguana/js/tradeintegration.js diff --git a/iguana/app/startup.js b/iguana/app/startup.js index 6b7d17311..08f379de1 100644 --- a/iguana/app/startup.js +++ b/iguana/app/startup.js @@ -160,6 +160,10 @@ $(function () { deletePeertabFile_onclick(); } + else if(e.className && e.className.indexOf('TradeIntegrationTest') != -1){ + TradeIntegrationTest(); + + } }; diff --git a/iguana/index.html b/iguana/index.html index 2cea70736..2ee41b90b 100644 --- a/iguana/index.html +++ b/iguana/index.html @@ -467,7 +467,7 @@ data-path="{tc}/{config}">

Instandex tab

-
+
@@ -487,9 +487,10 @@ data-path="{tc}/{config}"> - +
+
@@ -498,7 +499,7 @@ data-path="{tc}/{config}">
-
+