Minor fix.

This commit is contained in:
Julien Fontanet
2015-02-18 16:06:40 +01:00
parent 1824a30cde
commit f380f245c6

View File

@@ -38,7 +38,7 @@ function map(col, iterator, thisArg = this) {
export {map};
// Create a hash from multiple values.
export var multiKeyHash = (function (multiKeyHash) {
multiKeyHash = (function (multiKeyHash) {
return method((...args) => {
let hash = multiKeyHash(...args);
@@ -48,6 +48,7 @@ export var multiKeyHash = (function (multiKeyHash) {
return base64url(buf);
});
})(multiKeyHash);
export {multiKeyHash};
// Similar to `map()` but change the current collection.
//