|
|
@ -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
|
|
|
|