console.warn("this.observe(key, (newValue, oldValue) => {...}) is deprecated. Use\n\n // runs before DOM updates\n this.on('state', ({ changed, current, previous }) => {...});\n\n // runs after DOM updates\n this.on('update', ...);\n\n...or add the observe method from the svelte-extras package");
varc=(key=''+key).search(/[.[]/);
if(c>-1){
varmessage=
'The first argument to component.observe(...) must be the name of a top-level property';
if(c>0)
message+=", i.e. '"+key.slice(0,c)+"' rather than '"+key+"'";
console.warn("this.observe(key, (newValue, oldValue) => {...}) is deprecated. Use\n\n // runs before DOM updates\n this.on('state', ({ changed, current, previous }) => {...});\n\n // runs after DOM updates\n this.on('update', ...);\n\n...or add the observe method from the svelte-extras package");
varc=(key=''+key).search(/[.[]/);
if(c>-1){
varmessage=
'The first argument to component.observe(...) must be the name of a top-level property';
if(c>0)
message+=", i.e. '"+key.slice(0,c)+"' rather than '"+key+"'";
console.warn("this.observe(key, (newValue, oldValue) => {...}) is deprecated. Use\n\n // runs before DOM updates\n this.on('state', ({ changed, current, previous }) => {...});\n\n // runs after DOM updates\n this.on('update', ...);\n\n...or add the observe method from the svelte-extras package");
varc=(key=''+key).search(/[.[]/);
if(c>-1){
varmessage=
'The first argument to component.observe(...) must be the name of a top-level property';
if(c>0)
message+=", i.e. '"+key.slice(0,c)+"' rather than '"+key+"'";