js: avoid async getters
authorMaximilian Krambach <maximilian.krambach@intevation.de>
Thu, 16 Aug 2018 12:40:53 +0000 (14:40 +0200)
committerMaximilian Krambach <maximilian.krambach@intevation.de>
Thu, 16 Aug 2018 12:40:53 +0000 (14:40 +0200)
commitea43158d4043b01058afd7411c84aa38b61c2009
treebf075ad346c7b26d1c209d623487e99c91b85ab1
parent43cff5136459c5bca4dca66772eb815f5761c6cd
js: avoid async getters

--

* src/Key.js get armored was returning a promise on async keys.
  As getters should not do that, it returns an error in this case.
lang/js/src/Key.js