git.iko.soy/rowtype-yoga/yoga-r3f
on main help sign in
29 lines 523 B history raw
1export function mutationObserver(cb) {
2 return function () {
3 return new MutationObserver(function (mr, mo) {
4 return cb(mr)(mo)();
5 });
6 };
7}
9export function _observe(node) {
10 return function (config) {
11 return function (mo) {
12 return function () {
13 return mo.observe(node, config);
14 };
15 };
16 };
19export function disconnect(mo) {
20 return function () {
21 return mo.disconnect();
22 };
25export function takeRecords(mo) {
26 return function () {
27 return mo.takeRecords();
28 };