pull/816/merge
Andrew Shu 8 years ago committed by GitHub
commit bbaa3f09d9

@ -102,7 +102,7 @@ export default function visitElement(
if (node._cssRefAttribute) { if (node._cssRefAttribute) {
block.builders.hydrate.addLine( block.builders.hydrate.addLine(
`@setAttribute(${name}, "svelte-ref-${node._cssRefAttribute}", ");` `@setAttribute(${name}, "svelte-ref-${node._cssRefAttribute}", "");`
) )
} }
} }

@ -199,17 +199,17 @@ function create_main_fragment(state, component) {
return { return {
create: function() { create: function() {
p = createElement( 'p' ); p = createElement("p");
text = createText(state.foo); text = createText(state.foo);
this.hydrate(); this.hydrate();
}, },
hydrate: function(nodes) { hydrate: function(nodes) {
encapsulateStyles( p ); encapsulateStyles(p);
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( p, target, anchor ); insertNode(p, target, anchor);
appendNode(text, p); appendNode(text, p);
}, },
@ -220,7 +220,7 @@ function create_main_fragment(state, component) {
}, },
unmount: function() { unmount: function() {
detachNode( p ); detachNode(p);
}, },
destroy: noop destroy: noop

@ -24,17 +24,17 @@ function create_main_fragment(state, component) {
return { return {
create: function() { create: function() {
p = createElement( 'p' ); p = createElement("p");
text = createText(state.foo); text = createText(state.foo);
this.hydrate(); this.hydrate();
}, },
hydrate: function(nodes) { hydrate: function(nodes) {
encapsulateStyles( p ); encapsulateStyles(p);
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( p, target, anchor ); insertNode(p, target, anchor);
appendNode(text, p); appendNode(text, p);
}, },
@ -45,7 +45,7 @@ function create_main_fragment(state, component) {
}, },
unmount: function() { unmount: function() {
detachNode( p ); detachNode(p);
}, },
destroy: noop destroy: noop

@ -187,22 +187,22 @@ function create_main_fragment(state, component) {
return { return {
create: function() { create: function() {
div = createElement( 'div' ); div = createElement("div");
this.hydrate(); this.hydrate();
}, },
hydrate: function(nodes) { hydrate: function(nodes) {
encapsulateStyles( div ); encapsulateStyles(div);
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( div, target, anchor ); insertNode(div, target, anchor);
}, },
update: noop, update: noop,
unmount: function() { unmount: function() {
detachNode( div ); detachNode(div);
}, },
destroy: noop destroy: noop

@ -16,22 +16,22 @@ function create_main_fragment(state, component) {
return { return {
create: function() { create: function() {
div = createElement( 'div' ); div = createElement("div");
this.hydrate(); this.hydrate();
}, },
hydrate: function(nodes) { hydrate: function(nodes) {
encapsulateStyles( div ); encapsulateStyles(div);
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( div, target, anchor ); insertNode(div, target, anchor);
}, },
update: noop, update: noop,
unmount: function() { unmount: function() {
detachNode( div ); detachNode(div);
}, },
destroy: noop destroy: noop

@ -176,14 +176,14 @@ function create_main_fragment(state, component) {
return { return {
create: function() { create: function() {
h1 = createElement( 'h1' ); h1 = createElement("h1");
text = createText("Hello "); text = createText("Hello ");
text_1 = createText(state.name); text_1 = createText(state.name);
text_2 = createText("!"); text_2 = createText("!");
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( h1, target, anchor ); insertNode(h1, target, anchor);
appendNode(text, h1); appendNode(text, h1);
appendNode(text_1, h1); appendNode(text_1, h1);
appendNode(text_2, h1); appendNode(text_2, h1);
@ -196,7 +196,7 @@ function create_main_fragment(state, component) {
}, },
unmount: function() { unmount: function() {
detachNode( h1 ); detachNode(h1);
}, },
destroy: noop destroy: noop

@ -5,14 +5,14 @@ function create_main_fragment(state, component) {
return { return {
create: function() { create: function() {
h1 = createElement( 'h1' ); h1 = createElement("h1");
text = createText("Hello "); text = createText("Hello ");
text_1 = createText(state.name); text_1 = createText(state.name);
text_2 = createText("!"); text_2 = createText("!");
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( h1, target, anchor ); insertNode(h1, target, anchor);
appendNode(text, h1); appendNode(text, h1);
appendNode(text_1, h1); appendNode(text_1, h1);
appendNode(text_2, h1); appendNode(text_2, h1);
@ -25,7 +25,7 @@ function create_main_fragment(state, component) {
}, },
unmount: function() { unmount: function() {
detachNode( h1 ); detachNode(h1);
}, },
destroy: noop destroy: noop

@ -180,13 +180,13 @@ function create_main_fragment(state, component) {
return { return {
create: function() { create: function() {
div = createElement( 'div' ); div = createElement("div");
slot = createElement( 'slot' ); slot = createElement("slot");
p = createElement( 'p' ); p = createElement("p");
text = createText("default fallback content"); text = createText("default fallback content");
text_2 = createText("\n\n\t"); text_2 = createText("\n\n\t");
slot_1 = createElement( 'slot' ); slot_1 = createElement("slot");
p_1 = createElement( 'p' ); p_1 = createElement("p");
text_3 = createText("foo fallback content"); text_3 = createText("foo fallback content");
this.hydrate(); this.hydrate();
}, },
@ -196,20 +196,20 @@ function create_main_fragment(state, component) {
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( div, target, anchor ); insertNode(div, target, anchor);
appendNode( slot, div ); appendNode(slot, div);
appendNode( p, slot ); appendNode(p, slot);
appendNode(text, p); appendNode(text, p);
appendNode(text_2, div); appendNode(text_2, div);
appendNode( slot_1, div ); appendNode(slot_1, div);
appendNode( p_1, slot_1 ); appendNode(p_1, slot_1);
appendNode(text_3, p_1); appendNode(text_3, p_1);
}, },
update: noop, update: noop,
unmount: function() { unmount: function() {
detachNode( div ); detachNode(div);
}, },
destroy: noop destroy: noop

@ -5,13 +5,13 @@ function create_main_fragment(state, component) {
return { return {
create: function() { create: function() {
div = createElement( 'div' ); div = createElement("div");
slot = createElement( 'slot' ); slot = createElement("slot");
p = createElement( 'p' ); p = createElement("p");
text = createText("default fallback content"); text = createText("default fallback content");
text_2 = createText("\n\n\t"); text_2 = createText("\n\n\t");
slot_1 = createElement( 'slot' ); slot_1 = createElement("slot");
p_1 = createElement( 'p' ); p_1 = createElement("p");
text_3 = createText("foo fallback content"); text_3 = createText("foo fallback content");
this.hydrate(); this.hydrate();
}, },
@ -21,20 +21,20 @@ function create_main_fragment(state, component) {
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( div, target, anchor ); insertNode(div, target, anchor);
appendNode( slot, div ); appendNode(slot, div);
appendNode( p, slot ); appendNode(p, slot);
appendNode(text, p); appendNode(text, p);
appendNode(text_2, div); appendNode(text_2, div);
appendNode( slot_1, div ); appendNode(slot_1, div);
appendNode( p_1, slot_1 ); appendNode(p_1, slot_1);
appendNode(text_3, p_1); appendNode(text_3, p_1);
}, },
update: noop, update: noop,
unmount: function() { unmount: function() {
detachNode( div ); detachNode(div);
}, },
destroy: noop destroy: noop

@ -176,14 +176,14 @@ function create_main_fragment(state, component) {
return { return {
create: function() { create: function() {
h1 = createElement( 'h1' ); h1 = createElement("h1");
text = createText("Hello "); text = createText("Hello ");
text_1 = createText(state.name); text_1 = createText(state.name);
text_2 = createText("!"); text_2 = createText("!");
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( h1, target, anchor ); insertNode(h1, target, anchor);
appendNode(text, h1); appendNode(text, h1);
appendNode(text_1, h1); appendNode(text_1, h1);
appendNode(text_2, h1); appendNode(text_2, h1);
@ -196,7 +196,7 @@ function create_main_fragment(state, component) {
}, },
unmount: function() { unmount: function() {
detachNode( h1 ); detachNode(h1);
}, },
destroy: noop destroy: noop

@ -5,14 +5,14 @@ function create_main_fragment(state, component) {
return { return {
create: function() { create: function() {
h1 = createElement( 'h1' ); h1 = createElement("h1");
text = createText("Hello "); text = createText("Hello ");
text_1 = createText(state.name); text_1 = createText(state.name);
text_2 = createText("!"); text_2 = createText("!");
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( h1, target, anchor ); insertNode(h1, target, anchor);
appendNode(text, h1); appendNode(text, h1);
appendNode(text_1, h1); appendNode(text_1, h1);
appendNode(text_2, h1); appendNode(text_2, h1);
@ -25,7 +25,7 @@ function create_main_fragment(state, component) {
}, },
unmount: function() { unmount: function() {
detachNode( h1 ); detachNode(h1);
}, },
destroy: noop destroy: noop

@ -202,7 +202,7 @@ function create_main_fragment(state, component) {
} }
text = createText("\n\n"); text = createText("\n\n");
p = createElement( 'p' ); p = createElement("p");
text_1 = createText(state.foo); text_1 = createText(state.foo);
}, },
@ -212,7 +212,7 @@ function create_main_fragment(state, component) {
} }
insertNode(text, target, anchor); insertNode(text, target, anchor);
insertNode( p, target, anchor ); insertNode(p, target, anchor);
appendNode(text_1, p); appendNode(text_1, p);
}, },
@ -248,7 +248,7 @@ function create_main_fragment(state, component) {
} }
detachNode(text); detachNode(text);
detachNode( p ); detachNode(p);
}, },
destroy: function() { destroy: function() {
@ -262,11 +262,11 @@ function create_each_block(state, each_block_value, comment, i, component) {
return { return {
create: function() { create: function() {
div = createElement( 'div' ); div = createElement("div");
strong = createElement( 'strong' ); strong = createElement("strong");
text = createText(i); text = createText(i);
text_1 = createText("\n\n\t\t"); text_1 = createText("\n\n\t\t");
span = createElement( 'span' ); span = createElement("span");
text_2 = createText(text_2_value); text_2 = createText(text_2_value);
text_3 = createText(" wrote "); text_3 = createText(" wrote ");
text_4 = createText(text_4_value); text_4 = createText(text_4_value);
@ -282,11 +282,11 @@ function create_each_block(state, each_block_value, comment, i, component) {
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( div, target, anchor ); insertNode(div, target, anchor);
appendNode( strong, div ); appendNode(strong, div);
appendNode(text, strong); appendNode(text, strong);
appendNode(text_1, div); appendNode(text_1, div);
appendNode( span, div ); appendNode(span, div);
appendNode(text_2, span); appendNode(text_2, span);
appendNode(text_3, span); appendNode(text_3, span);
appendNode(text_4, span); appendNode(text_4, span);
@ -314,7 +314,7 @@ function create_each_block(state, each_block_value, comment, i, component) {
unmount: function() { unmount: function() {
detachAfter(raw_before); detachAfter(raw_before);
detachNode( div ); detachNode(div);
}, },
destroy: noop destroy: noop

@ -18,7 +18,7 @@ function create_main_fragment(state, component) {
} }
text = createText("\n\n"); text = createText("\n\n");
p = createElement( 'p' ); p = createElement("p");
text_1 = createText(state.foo); text_1 = createText(state.foo);
}, },
@ -28,7 +28,7 @@ function create_main_fragment(state, component) {
} }
insertNode(text, target, anchor); insertNode(text, target, anchor);
insertNode( p, target, anchor ); insertNode(p, target, anchor);
appendNode(text_1, p); appendNode(text_1, p);
}, },
@ -64,7 +64,7 @@ function create_main_fragment(state, component) {
} }
detachNode(text); detachNode(text);
detachNode( p ); detachNode(p);
}, },
destroy: function() { destroy: function() {
@ -78,11 +78,11 @@ function create_each_block(state, each_block_value, comment, i, component) {
return { return {
create: function() { create: function() {
div = createElement( 'div' ); div = createElement("div");
strong = createElement( 'strong' ); strong = createElement("strong");
text = createText(i); text = createText(i);
text_1 = createText("\n\n\t\t"); text_1 = createText("\n\n\t\t");
span = createElement( 'span' ); span = createElement("span");
text_2 = createText(text_2_value); text_2 = createText(text_2_value);
text_3 = createText(" wrote "); text_3 = createText(" wrote ");
text_4 = createText(text_4_value); text_4 = createText(text_4_value);
@ -98,11 +98,11 @@ function create_each_block(state, each_block_value, comment, i, component) {
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( div, target, anchor ); insertNode(div, target, anchor);
appendNode( strong, div ); appendNode(strong, div);
appendNode(text, strong); appendNode(text, strong);
appendNode(text_1, div); appendNode(text_1, div);
appendNode( span, div ); appendNode(span, div);
appendNode(text_2, span); appendNode(text_2, span);
appendNode(text_3, span); appendNode(text_3, span);
appendNode(text_4, span); appendNode(text_4, span);
@ -130,7 +130,7 @@ function create_each_block(state, each_block_value, comment, i, component) {
unmount: function() { unmount: function() {
detachAfter(raw_before); detachAfter(raw_before);
detachNode( div ); detachNode(div);
}, },
destroy: noop destroy: noop

@ -191,7 +191,7 @@ function create_main_fragment(state, component) {
return { return {
create: function() { create: function() {
button = createElement( 'button' ); button = createElement("button");
text = createText("foo"); text = createText("foo");
this.hydrate(); this.hydrate();
}, },
@ -204,14 +204,14 @@ function create_main_fragment(state, component) {
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( button, target, anchor ); insertNode(button, target, anchor);
appendNode(text, button); appendNode(text, button);
}, },
update: noop, update: noop,
unmount: function() { unmount: function() {
detachNode( button ); detachNode(button);
}, },
destroy: function() { destroy: function() {

@ -20,7 +20,7 @@ function create_main_fragment(state, component) {
return { return {
create: function() { create: function() {
button = createElement( 'button' ); button = createElement("button");
text = createText("foo"); text = createText("foo");
this.hydrate(); this.hydrate();
}, },
@ -33,14 +33,14 @@ function create_main_fragment(state, component) {
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( button, target, anchor ); insertNode(button, target, anchor);
appendNode(text, button); appendNode(text, button);
}, },
update: noop, update: noop,
unmount: function() { unmount: function() {
detachNode( button ); detachNode(button);
}, },
destroy: function() { destroy: function() {

@ -218,17 +218,17 @@ function create_if_block(state, component) {
return { return {
create: function() { create: function() {
p = createElement( 'p' ); p = createElement("p");
text = createText("foo!"); text = createText("foo!");
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( p, target, anchor ); insertNode(p, target, anchor);
appendNode(text, p); appendNode(text, p);
}, },
unmount: function() { unmount: function() {
detachNode( p ); detachNode(p);
}, },
destroy: noop destroy: noop
@ -240,17 +240,17 @@ function create_if_block_1(state, component) {
return { return {
create: function() { create: function() {
p = createElement( 'p' ); p = createElement("p");
text = createText("not foo!"); text = createText("not foo!");
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( p, target, anchor ); insertNode(p, target, anchor);
appendNode(text, p); appendNode(text, p);
}, },
unmount: function() { unmount: function() {
detachNode( p ); detachNode(p);
}, },
destroy: noop destroy: noop

@ -43,17 +43,17 @@ function create_if_block(state, component) {
return { return {
create: function() { create: function() {
p = createElement( 'p' ); p = createElement("p");
text = createText("foo!"); text = createText("foo!");
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( p, target, anchor ); insertNode(p, target, anchor);
appendNode(text, p); appendNode(text, p);
}, },
unmount: function() { unmount: function() {
detachNode( p ); detachNode(p);
}, },
destroy: noop destroy: noop
@ -65,17 +65,17 @@ function create_if_block_1(state, component) {
return { return {
create: function() { create: function() {
p = createElement( 'p' ); p = createElement("p");
text = createText("not foo!"); text = createText("not foo!");
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( p, target, anchor ); insertNode(p, target, anchor);
appendNode(text, p); appendNode(text, p);
}, },
unmount: function() { unmount: function() {
detachNode( p ); detachNode(p);
}, },
destroy: noop destroy: noop

@ -221,17 +221,17 @@ function create_if_block(state, component) {
return { return {
create: function() { create: function() {
p = createElement( 'p' ); p = createElement("p");
text = createText("foo!"); text = createText("foo!");
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( p, target, anchor ); insertNode(p, target, anchor);
appendNode(text, p); appendNode(text, p);
}, },
unmount: function() { unmount: function() {
detachNode( p ); detachNode(p);
}, },
destroy: noop destroy: noop

@ -46,17 +46,17 @@ function create_if_block(state, component) {
return { return {
create: function() { create: function() {
p = createElement( 'p' ); p = createElement("p");
text = createText("foo!"); text = createText("foo!");
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( p, target, anchor ); insertNode(p, target, anchor);
appendNode(text, p); appendNode(text, p);
}, },
unmount: function() { unmount: function() {
detachNode( p ); detachNode(p);
}, },
destroy: noop destroy: noop

@ -172,7 +172,7 @@ function create_main_fragment(state, component) {
return { return {
create: function() { create: function() {
div = createElement( 'div' ); div = createElement("div");
this.hydrate(); this.hydrate();
}, },
@ -182,7 +182,7 @@ function create_main_fragment(state, component) {
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( div, target, anchor ); insertNode(div, target, anchor);
}, },
update: function(changed, state) { update: function(changed, state) {
@ -196,7 +196,7 @@ function create_main_fragment(state, component) {
}, },
unmount: function() { unmount: function() {
detachNode( div ); detachNode(div);
}, },
destroy: noop destroy: noop

@ -5,7 +5,7 @@ function create_main_fragment(state, component) {
return { return {
create: function() { create: function() {
div = createElement( 'div' ); div = createElement("div");
this.hydrate(); this.hydrate();
}, },
@ -15,7 +15,7 @@ function create_main_fragment(state, component) {
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( div, target, anchor ); insertNode(div, target, anchor);
}, },
update: function(changed, state) { update: function(changed, state) {
@ -29,7 +29,7 @@ function create_main_fragment(state, component) {
}, },
unmount: function() { unmount: function() {
detachNode( div ); detachNode(div);
}, },
destroy: noop destroy: noop

@ -172,7 +172,7 @@ function create_main_fragment(state, component) {
return { return {
create: function() { create: function() {
div = createElement( 'div' ); div = createElement("div");
this.hydrate(); this.hydrate();
}, },
@ -181,7 +181,7 @@ function create_main_fragment(state, component) {
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( div, target, anchor ); insertNode(div, target, anchor);
}, },
update: function(changed, state) { update: function(changed, state) {
@ -191,7 +191,7 @@ function create_main_fragment(state, component) {
}, },
unmount: function() { unmount: function() {
detachNode( div ); detachNode(div);
}, },
destroy: noop destroy: noop

@ -5,7 +5,7 @@ function create_main_fragment(state, component) {
return { return {
create: function() { create: function() {
div = createElement( 'div' ); div = createElement("div");
this.hydrate(); this.hydrate();
}, },
@ -14,7 +14,7 @@ function create_main_fragment(state, component) {
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( div, target, anchor ); insertNode(div, target, anchor);
}, },
update: function(changed, state) { update: function(changed, state) {
@ -24,7 +24,7 @@ function create_main_fragment(state, component) {
}, },
unmount: function() { unmount: function() {
detachNode( div ); detachNode(div);
}, },
destroy: noop destroy: noop

@ -172,7 +172,7 @@ function create_main_fragment(state, component) {
return { return {
create: function() { create: function() {
div = createElement( 'div' ); div = createElement("div");
this.hydrate(); this.hydrate();
}, },
@ -181,7 +181,7 @@ function create_main_fragment(state, component) {
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( div, target, anchor ); insertNode(div, target, anchor);
}, },
update: function(changed, state) { update: function(changed, state) {
@ -191,7 +191,7 @@ function create_main_fragment(state, component) {
}, },
unmount: function() { unmount: function() {
detachNode( div ); detachNode(div);
}, },
destroy: noop destroy: noop

@ -5,7 +5,7 @@ function create_main_fragment(state, component) {
return { return {
create: function() { create: function() {
div = createElement( 'div' ); div = createElement("div");
this.hydrate(); this.hydrate();
}, },
@ -14,7 +14,7 @@ function create_main_fragment(state, component) {
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( div, target, anchor ); insertNode(div, target, anchor);
}, },
update: function(changed, state) { update: function(changed, state) {
@ -24,7 +24,7 @@ function create_main_fragment(state, component) {
}, },
unmount: function() { unmount: function() {
detachNode( div ); detachNode(div);
}, },
destroy: noop destroy: noop

@ -172,9 +172,9 @@ function create_main_fragment(state, component) {
return { return {
create: function() { create: function() {
div = createElement( 'div' ); div = createElement("div");
text = createText("\n"); text = createText("\n");
div_1 = createElement( 'div' ); div_1 = createElement("div");
this.hydrate(); this.hydrate();
}, },
@ -184,9 +184,9 @@ function create_main_fragment(state, component) {
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( div, target, anchor ); insertNode(div, target, anchor);
insertNode(text, target, anchor); insertNode(text, target, anchor);
insertNode( div_1, target, anchor ); insertNode(div_1, target, anchor);
}, },
update: function(changed, state) { update: function(changed, state) {
@ -200,9 +200,9 @@ function create_main_fragment(state, component) {
}, },
unmount: function() { unmount: function() {
detachNode( div ); detachNode(div);
detachNode(text); detachNode(text);
detachNode( div_1 ); detachNode(div_1);
}, },
destroy: noop destroy: noop

@ -5,9 +5,9 @@ function create_main_fragment(state, component) {
return { return {
create: function() { create: function() {
div = createElement( 'div' ); div = createElement("div");
text = createText("\n"); text = createText("\n");
div_1 = createElement( 'div' ); div_1 = createElement("div");
this.hydrate(); this.hydrate();
}, },
@ -17,9 +17,9 @@ function create_main_fragment(state, component) {
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( div, target, anchor ); insertNode(div, target, anchor);
insertNode(text, target, anchor); insertNode(text, target, anchor);
insertNode( div_1, target, anchor ); insertNode(div_1, target, anchor);
}, },
update: function(changed, state) { update: function(changed, state) {
@ -33,9 +33,9 @@ function create_main_fragment(state, component) {
}, },
unmount: function() { unmount: function() {
detachNode( div ); detachNode(div);
detachNode(text); detachNode(text);
detachNode( div_1 ); detachNode(div_1);
}, },
destroy: noop destroy: noop

@ -180,7 +180,7 @@ function create_main_fragment(state, component) {
return { return {
create: function() { create: function() {
input = createElement( 'input' ); input = createElement("input");
this.hydrate(); this.hydrate();
}, },
@ -190,7 +190,7 @@ function create_main_fragment(state, component) {
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( input, target, anchor ); insertNode(input, target, anchor);
input.checked = state.foo; input.checked = state.foo;
}, },
@ -200,7 +200,7 @@ function create_main_fragment(state, component) {
}, },
unmount: function() { unmount: function() {
detachNode( input ); detachNode(input);
}, },
destroy: function() { destroy: function() {

@ -9,7 +9,7 @@ function create_main_fragment(state, component) {
return { return {
create: function() { create: function() {
input = createElement( 'input' ); input = createElement("input");
this.hydrate(); this.hydrate();
}, },
@ -19,7 +19,7 @@ function create_main_fragment(state, component) {
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( input, target, anchor ); insertNode(input, target, anchor);
input.checked = state.foo; input.checked = state.foo;
}, },
@ -29,7 +29,7 @@ function create_main_fragment(state, component) {
}, },
unmount: function() { unmount: function() {
detachNode( input ); detachNode(input);
}, },
destroy: function() { destroy: function() {

@ -174,7 +174,7 @@ function create_main_fragment(state, component) {
return { return {
create: function() { create: function() {
input = createElement( 'input' ); input = createElement("input");
this.hydrate(); this.hydrate();
}, },
@ -183,13 +183,13 @@ function create_main_fragment(state, component) {
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( input, target, anchor ); insertNode(input, target, anchor);
}, },
update: noop, update: noop,
unmount: function() { unmount: function() {
detachNode( input ); detachNode(input);
}, },
destroy: noop destroy: noop

@ -5,7 +5,7 @@ function create_main_fragment(state, component) {
return { return {
create: function() { create: function() {
input = createElement( 'input' ); input = createElement("input");
this.hydrate(); this.hydrate();
}, },
@ -14,13 +14,13 @@ function create_main_fragment(state, component) {
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( input, target, anchor ); insertNode(input, target, anchor);
}, },
update: noop, update: noop,
unmount: function() { unmount: function() {
detachNode( input ); detachNode(input);
}, },
destroy: noop destroy: noop

@ -190,17 +190,17 @@ function create_main_fragment(state, component) {
return { return {
create: function() { create: function() {
div = createElement( 'div' ); div = createElement("div");
if (if_block) if_block.create(); if (if_block) if_block.create();
text = createText("\n\n\t"); text = createText("\n\n\t");
p = createElement( 'p' ); p = createElement("p");
text_1 = createText("this can be used as an anchor"); text_1 = createText("this can be used as an anchor");
text_2 = createText("\n\n\t"); text_2 = createText("\n\n\t");
if (if_block_1) if_block_1.create(); if (if_block_1) if_block_1.create();
text_3 = createText("\n\n\t"); text_3 = createText("\n\n\t");
if (if_block_2) if_block_2.create(); if (if_block_2) if_block_2.create();
text_4 = createText("\n\n\t"); text_4 = createText("\n\n\t");
p_1 = createElement( 'p' ); p_1 = createElement("p");
text_5 = createText("so can this"); text_5 = createText("so can this");
text_6 = createText("\n\n\t"); text_6 = createText("\n\n\t");
if (if_block_3) if_block_3.create(); if (if_block_3) if_block_3.create();
@ -210,17 +210,17 @@ function create_main_fragment(state, component) {
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( div, target, anchor ); insertNode(div, target, anchor);
if (if_block) if_block.mount(div, null); if (if_block) if_block.mount(div, null);
appendNode(text, div); appendNode(text, div);
appendNode( p, div ); appendNode(p, div);
appendNode(text_1, p); appendNode(text_1, p);
appendNode(text_2, div); appendNode(text_2, div);
if (if_block_1) if_block_1.mount(div, null); if (if_block_1) if_block_1.mount(div, null);
appendNode(text_3, div); appendNode(text_3, div);
if (if_block_2) if_block_2.mount(div, null); if (if_block_2) if_block_2.mount(div, null);
appendNode(text_4, div); appendNode(text_4, div);
appendNode( p_1, div ); appendNode(p_1, div);
appendNode(text_5, p_1); appendNode(text_5, p_1);
appendNode(text_6, div); appendNode(text_6, div);
if (if_block_3) if_block_3.mount(div, null); if (if_block_3) if_block_3.mount(div, null);
@ -292,7 +292,7 @@ function create_main_fragment(state, component) {
}, },
unmount: function() { unmount: function() {
detachNode( div ); detachNode(div);
if (if_block) if_block.unmount(); if (if_block) if_block.unmount();
if (if_block_1) if_block_1.unmount(); if (if_block_1) if_block_1.unmount();
if (if_block_2) if_block_2.unmount(); if (if_block_2) if_block_2.unmount();
@ -317,17 +317,17 @@ function create_if_block(state, component) {
return { return {
create: function() { create: function() {
p = createElement( 'p' ); p = createElement("p");
text = createText("a"); text = createText("a");
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( p, target, anchor ); insertNode(p, target, anchor);
appendNode(text, p); appendNode(text, p);
}, },
unmount: function() { unmount: function() {
detachNode( p ); detachNode(p);
}, },
destroy: noop destroy: noop
@ -339,17 +339,17 @@ function create_if_block_1(state, component) {
return { return {
create: function() { create: function() {
p = createElement( 'p' ); p = createElement("p");
text = createText("b"); text = createText("b");
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( p, target, anchor ); insertNode(p, target, anchor);
appendNode(text, p); appendNode(text, p);
}, },
unmount: function() { unmount: function() {
detachNode( p ); detachNode(p);
}, },
destroy: noop destroy: noop
@ -361,17 +361,17 @@ function create_if_block_2(state, component) {
return { return {
create: function() { create: function() {
p = createElement( 'p' ); p = createElement("p");
text = createText("c"); text = createText("c");
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( p, target, anchor ); insertNode(p, target, anchor);
appendNode(text, p); appendNode(text, p);
}, },
unmount: function() { unmount: function() {
detachNode( p ); detachNode(p);
}, },
destroy: noop destroy: noop
@ -383,17 +383,17 @@ function create_if_block_3(state, component) {
return { return {
create: function() { create: function() {
p = createElement( 'p' ); p = createElement("p");
text = createText("d"); text = createText("d");
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( p, target, anchor ); insertNode(p, target, anchor);
appendNode(text, p); appendNode(text, p);
}, },
unmount: function() { unmount: function() {
detachNode( p ); detachNode(p);
}, },
destroy: noop destroy: noop
@ -405,17 +405,17 @@ function create_if_block_4(state, component) {
return { return {
create: function() { create: function() {
p = createElement( 'p' ); p = createElement("p");
text = createText("e"); text = createText("e");
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( p, target, anchor ); insertNode(p, target, anchor);
appendNode(text, p); appendNode(text, p);
}, },
unmount: function() { unmount: function() {
detachNode( p ); detachNode(p);
}, },
destroy: noop destroy: noop

@ -15,17 +15,17 @@ function create_main_fragment(state, component) {
return { return {
create: function() { create: function() {
div = createElement( 'div' ); div = createElement("div");
if (if_block) if_block.create(); if (if_block) if_block.create();
text = createText("\n\n\t"); text = createText("\n\n\t");
p = createElement( 'p' ); p = createElement("p");
text_1 = createText("this can be used as an anchor"); text_1 = createText("this can be used as an anchor");
text_2 = createText("\n\n\t"); text_2 = createText("\n\n\t");
if (if_block_1) if_block_1.create(); if (if_block_1) if_block_1.create();
text_3 = createText("\n\n\t"); text_3 = createText("\n\n\t");
if (if_block_2) if_block_2.create(); if (if_block_2) if_block_2.create();
text_4 = createText("\n\n\t"); text_4 = createText("\n\n\t");
p_1 = createElement( 'p' ); p_1 = createElement("p");
text_5 = createText("so can this"); text_5 = createText("so can this");
text_6 = createText("\n\n\t"); text_6 = createText("\n\n\t");
if (if_block_3) if_block_3.create(); if (if_block_3) if_block_3.create();
@ -35,17 +35,17 @@ function create_main_fragment(state, component) {
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( div, target, anchor ); insertNode(div, target, anchor);
if (if_block) if_block.mount(div, null); if (if_block) if_block.mount(div, null);
appendNode(text, div); appendNode(text, div);
appendNode( p, div ); appendNode(p, div);
appendNode(text_1, p); appendNode(text_1, p);
appendNode(text_2, div); appendNode(text_2, div);
if (if_block_1) if_block_1.mount(div, null); if (if_block_1) if_block_1.mount(div, null);
appendNode(text_3, div); appendNode(text_3, div);
if (if_block_2) if_block_2.mount(div, null); if (if_block_2) if_block_2.mount(div, null);
appendNode(text_4, div); appendNode(text_4, div);
appendNode( p_1, div ); appendNode(p_1, div);
appendNode(text_5, p_1); appendNode(text_5, p_1);
appendNode(text_6, div); appendNode(text_6, div);
if (if_block_3) if_block_3.mount(div, null); if (if_block_3) if_block_3.mount(div, null);
@ -117,7 +117,7 @@ function create_main_fragment(state, component) {
}, },
unmount: function() { unmount: function() {
detachNode( div ); detachNode(div);
if (if_block) if_block.unmount(); if (if_block) if_block.unmount();
if (if_block_1) if_block_1.unmount(); if (if_block_1) if_block_1.unmount();
if (if_block_2) if_block_2.unmount(); if (if_block_2) if_block_2.unmount();
@ -142,17 +142,17 @@ function create_if_block(state, component) {
return { return {
create: function() { create: function() {
p = createElement( 'p' ); p = createElement("p");
text = createText("a"); text = createText("a");
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( p, target, anchor ); insertNode(p, target, anchor);
appendNode(text, p); appendNode(text, p);
}, },
unmount: function() { unmount: function() {
detachNode( p ); detachNode(p);
}, },
destroy: noop destroy: noop
@ -164,17 +164,17 @@ function create_if_block_1(state, component) {
return { return {
create: function() { create: function() {
p = createElement( 'p' ); p = createElement("p");
text = createText("b"); text = createText("b");
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( p, target, anchor ); insertNode(p, target, anchor);
appendNode(text, p); appendNode(text, p);
}, },
unmount: function() { unmount: function() {
detachNode( p ); detachNode(p);
}, },
destroy: noop destroy: noop
@ -186,17 +186,17 @@ function create_if_block_2(state, component) {
return { return {
create: function() { create: function() {
p = createElement( 'p' ); p = createElement("p");
text = createText("c"); text = createText("c");
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( p, target, anchor ); insertNode(p, target, anchor);
appendNode(text, p); appendNode(text, p);
}, },
unmount: function() { unmount: function() {
detachNode( p ); detachNode(p);
}, },
destroy: noop destroy: noop
@ -208,17 +208,17 @@ function create_if_block_3(state, component) {
return { return {
create: function() { create: function() {
p = createElement( 'p' ); p = createElement("p");
text = createText("d"); text = createText("d");
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( p, target, anchor ); insertNode(p, target, anchor);
appendNode(text, p); appendNode(text, p);
}, },
unmount: function() { unmount: function() {
detachNode( p ); detachNode(p);
}, },
destroy: noop destroy: noop
@ -230,17 +230,17 @@ function create_if_block_4(state, component) {
return { return {
create: function() { create: function() {
p = createElement( 'p' ); p = createElement("p");
text = createText("e"); text = createText("e");
}, },
mount: function(target, anchor) { mount: function(target, anchor) {
insertNode( p, target, anchor ); insertNode(p, target, anchor);
appendNode(text, p); appendNode(text, p);
}, },
unmount: function() { unmount: function() {
detachNode( p ); detachNode(p);
}, },
destroy: noop destroy: noop

Loading…
Cancel
Save