I hereby claim:
- I am littlemooon on github.
- I am littlemooon (https://keybase.io/littlemooon) on keybase.
- I have a public key whose fingerprint is 6B7E 03B7 C737 1BE5 CA8D 6FBD EDEC FAFF E082 E9D2
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import to from 'await-to-js'; | |
import countries from 'common/config/world-countries.js'; | |
import { waitUntilResolved } from 'common/lib/fetch-helpers'; | |
import { formatOperatorResponse } from 'common/lib/operator'; | |
import { | |
getStorageItem, | |
removeStorageItem, | |
setStorageItem, | |
StorageKey, | |
} from 'common/lib/storage'; |
import memoize from 'memoizee' | |
export default function makeCallback() { | |
return memoize( | |
function(func, args) { | |
return function(additionalArgs) { | |
return func(...args, ...additionalArgs) | |
} | |
}, | |
{ length: false } |