|
|
@ -43,7 +43,8 @@ import {
|
|
|
|
push,
|
|
|
|
push,
|
|
|
|
current_component_context,
|
|
|
|
current_component_context,
|
|
|
|
pop,
|
|
|
|
pop,
|
|
|
|
unwrap
|
|
|
|
unwrap,
|
|
|
|
|
|
|
|
default_equals
|
|
|
|
} from './runtime.js';
|
|
|
|
} from './runtime.js';
|
|
|
|
import {
|
|
|
|
import {
|
|
|
|
current_hydration_fragment,
|
|
|
|
current_hydration_fragment,
|
|
|
@ -2624,7 +2625,7 @@ export function createRoot(component, options) {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
function add_prop(name, value) {
|
|
|
|
function add_prop(name, value) {
|
|
|
|
const prop = source(value);
|
|
|
|
const prop = source(value);
|
|
|
|
prop.e = safe_equal; // TODO should this be default_equal?
|
|
|
|
prop.e = default_equals; // TODO should this be safe_equals?
|
|
|
|
_sources[name] = prop;
|
|
|
|
_sources[name] = prop;
|
|
|
|
define_property(_props, name, {
|
|
|
|
define_property(_props, name, {
|
|
|
|
get() {
|
|
|
|
get() {
|
|
|
|