Add comment about promises

This commit is contained in:
Kagami Hiiragi 2015-01-07 21:47:41 +03:00
parent f10072c932
commit 3aea60e875

View File

@ -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
// <http://caniuse.com/#feat=promises>) and we can use only new browsers
// because of the WebCryptoAPI (see
// <http://caniuse.com/#feat=cryptography>).
"use strict";
var EC = require("elliptic").ec;