Move to internal data

pull/4046/head
Timothy Johnson 6 years ago
parent 5d8f809abc
commit 8389dfb30a

@ -416,7 +416,7 @@ export default function dom(
${uses_props && b`$$props = @exclude_internal_props($$props);`}
${ctx_names && x`$$self.ctx_names = ${ctx_names};`}
${ctx_names && x`$$self.$$.ctx_names = ${ctx_names};`}
return ${return_value};
}

@ -87,7 +87,7 @@ function instance($$self, $$props, $$invalidate) {
if ("name" in $$props) $$invalidate(0, name = $$props.name);
};
$$self.ctx_names = ["name"];
$$self.$$.ctx_names = ["name"];
return [name];
}

@ -194,7 +194,7 @@ function instance($$self, $$props, $$invalidate) {
if ("baz" in $$props) $$invalidate(3, baz = $$props.baz);
};
$$self.ctx_names = ["things", "foo", "bar", "baz"];
$$self.$$.ctx_names = ["things", "foo", "bar", "baz"];
return [things, foo, bar, baz];
}

@ -182,7 +182,7 @@ function instance($$self, $$props, $$invalidate) {
if ("foo" in $$props) $$invalidate(1, foo = $$props.foo);
};
$$self.ctx_names = ["things", "foo"];
$$self.$$.ctx_names = ["things", "foo"];
return [things, foo];
}

@ -60,7 +60,7 @@ function instance($$self) {
if ("kobzol" in $$props) $$invalidate(1, kobzol = $$props.kobzol);
};
$$self.ctx_names = ["obj", "kobzol"];
$$self.$$.ctx_names = ["obj", "kobzol"];
return [obj, kobzol];
}

@ -91,7 +91,7 @@ function instance($$self, $$props, $$invalidate) {
}
};
$$self.ctx_names = ["foo", "bar"];
$$self.$$.ctx_names = ["foo", "bar"];
return [foo, bar];
}

@ -89,7 +89,7 @@ function instance($$self) {
} while (true);
}
$$self.ctx_names = [];
$$self.$$.ctx_names = [];
return [];
}

Loading…
Cancel
Save