Add comment about promises
This commit is contained in:
parent
f10072c932
commit
3aea60e875
|
@ -2,6 +2,12 @@
|
||||||
* Browser eccrypto implementation.
|
* 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";
|
"use strict";
|
||||||
|
|
||||||
var EC = require("elliptic").ec;
|
var EC = require("elliptic").ec;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user