fix broken requirejs support for common-hash

pull/1/head
ansuz 5 years ago
parent d81ff791ad
commit 53142c91e7

@ -542,7 +542,7 @@ Version 1
'/bower_components/chainpad-crypto/crypto.js',
'/bower_components/tweetnacl/nacl-fast.min.js'
], function (Util, Crypto) {
factory(Util, Crypto, window.nacl);
return factory(Util, Crypto, window.nacl);
});
} else {
// unsupported initialization

Loading…
Cancel
Save