From 3aea60e87524f7f28c12137e053243c99d8b9e51 Mon Sep 17 00:00:00 2001 From: Kagami Hiiragi Date: Wed, 7 Jan 2015 21:47:41 +0300 Subject: [PATCH] Add comment about promises --- browser.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/browser.js b/browser.js index 57be0ce..186fb32 100644 --- a/browser.js +++ b/browser.js @@ -2,6 +2,12 @@ * Browser eccrypto implementation. */ +// NOTE(Kagami): We don't use promise shim in Browser implementation +// because it's supported natively in new browsers (see +// ) and we can use only new browsers +// because of the WebCryptoAPI (see +// ). + "use strict"; var EC = require("elliptic").ec;