From ff2272d59adb8a83c3a1a83d53f7a0062b5b21fd Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 26 May 2015 13:34:08 -0700 Subject: [PATCH] Delete some temporary code. --- js/zt1-api-client/test.js | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 js/zt1-api-client/test.js diff --git a/js/zt1-api-client/test.js b/js/zt1-api-client/test.js deleted file mode 100644 index 6a5db453d..000000000 --- a/js/zt1-api-client/test.js +++ /dev/null @@ -1,33 +0,0 @@ -var ZT1ApiClient = require('./index.js').ZT1ApiClient; - -var zt1 = new ZT1ApiClient('http://127.0.0.1:9993/','5d6181b71fae2684f9cc64ed'); - -zt1.status(function(err,status) { - if (err) - console.log(err); - else console.log(status); - - zt1.getNetworks(function(err,networks) { - if (err) - console.log(err); - else console.log(networks); - - zt1.getPeers(function(err,peers) { - if (err) - console.log(err); - else console.log(peers); - - if (status.controller) { - zt1.saveControllerNetwork({ - "nwid": status.address + 'dead01', - "name": 'test network', - "private": true - },function(err,network) { - if (err) - console.log(err); - else console.log(network); - }); - } - }); - }); -});