js: use version operation for connection checks
authorMaximilian Krambach <maximilian.krambach@intevation.de>
Fri, 25 May 2018 09:53:24 +0000 (11:53 +0200)
committerMaximilian Krambach <maximilian.krambach@intevation.de>
Fri, 25 May 2018 09:53:24 +0000 (11:53 +0200)
commiteff27d6387b1cad2ef9901fa03dbee2ea86c786a
treeaebdc295b1cd60152fbcfe55f8b7ce69916e40e1
parenta4ba80c553c2ac42f9e311344302c04ec9aa715b
js: use version operation for connection checks

--

* src/Connection.js: isConnected was renamed to checkConnection, that
  returns a promise with either version information or Boolean
* Connection checks have been adapted to reflect that checkConnection
  returns a Promise
* BrowsertestExtension: tests/signTest.js was missing from my last
  commit
lang/js/BrowserTestExtension/tests/signTest.js [new file with mode: 0644]
lang/js/BrowserTestExtension/tests/startup.js
lang/js/src/Connection.js
lang/js/src/Errors.js
lang/js/src/Keyring.js
lang/js/src/gpgmejs.js
lang/js/src/index.js
lang/js/unittests.js