blob: cd79cbd0c3a8c885a048c3cbe6db17bb1f0f9292 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import { readable } from 'svelte/store';
import lgtmList from '$lib/lgtm_list';
const internals = {
random(list) {
return list[Math.floor(Math.random() * list.length)];
}
};
export const getLGTM = function () {
return readable(internals.random(lgtmList));
};
|