|
|
@ -1,6 +1,8 @@
|
|
|
|
import { appendNode, assign, createElement, createText, destroyEach, detachBetween, detachNode, dispatchObservers, insertNode, proto } from "svelte/shared.js";
|
|
|
|
import { appendNode, assign, createElement, createText, destroyEach, detachBetween, detachNode, dispatchObservers, insertNode, proto } from "svelte/shared.js";
|
|
|
|
|
|
|
|
|
|
|
|
function create_main_fragment ( state, component ) {
|
|
|
|
function create_main_fragment ( state, component ) {
|
|
|
|
|
|
|
|
var text_1_value;
|
|
|
|
|
|
|
|
|
|
|
|
var each_block_value = state.comments;
|
|
|
|
var each_block_value = state.comments;
|
|
|
|
var each_block_iterations = [];
|
|
|
|
var each_block_iterations = [];
|
|
|
|
|
|
|
|
|
|
|
@ -10,8 +12,7 @@ function create_main_fragment ( state, component ) {
|
|
|
|
|
|
|
|
|
|
|
|
var text = createText( "\n\n" );
|
|
|
|
var text = createText( "\n\n" );
|
|
|
|
var p = createElement( 'p' );
|
|
|
|
var p = createElement( 'p' );
|
|
|
|
var text_1_value = state.foo;
|
|
|
|
var text_1 = createText( text_1_value = state.foo );
|
|
|
|
var text_1 = createText( text_1_value );
|
|
|
|
|
|
|
|
appendNode( text_1, p );
|
|
|
|
appendNode( text_1, p );
|
|
|
|
|
|
|
|
|
|
|
|
return {
|
|
|
|
return {
|
|
|
@ -59,23 +60,22 @@ function create_main_fragment ( state, component ) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function create_each_block ( state, each_block_value, comment, i, component ) {
|
|
|
|
function create_each_block ( state, each_block_value, comment, i, component ) {
|
|
|
|
|
|
|
|
var text_value, text_2_value, text_4_value;
|
|
|
|
|
|
|
|
|
|
|
|
var div = createElement( 'div' );
|
|
|
|
var div = createElement( 'div' );
|
|
|
|
div.className = "comment";
|
|
|
|
div.className = "comment";
|
|
|
|
var strong = createElement( 'strong' );
|
|
|
|
var strong = createElement( 'strong' );
|
|
|
|
appendNode( strong, div );
|
|
|
|
appendNode( strong, div );
|
|
|
|
var text_value = i;
|
|
|
|
var text = createText( text_value = i );
|
|
|
|
var text = createText( text_value );
|
|
|
|
|
|
|
|
appendNode( text, strong );
|
|
|
|
appendNode( text, strong );
|
|
|
|
appendNode( createText( "\n\n\t\t" ), div );
|
|
|
|
appendNode( createText( "\n\n\t\t" ), div );
|
|
|
|
var span = createElement( 'span' );
|
|
|
|
var span = createElement( 'span' );
|
|
|
|
appendNode( span, div );
|
|
|
|
appendNode( span, div );
|
|
|
|
span.className = "meta";
|
|
|
|
span.className = "meta";
|
|
|
|
var text_2_value = comment.author;
|
|
|
|
var text_2 = createText( text_2_value = comment.author );
|
|
|
|
var text_2 = createText( text_2_value );
|
|
|
|
|
|
|
|
appendNode( text_2, span );
|
|
|
|
appendNode( text_2, span );
|
|
|
|
appendNode( createText( " wrote " ), span );
|
|
|
|
appendNode( createText( " wrote " ), span );
|
|
|
|
var text_4_value = state.elapsed(comment.time, state.time);
|
|
|
|
var text_4 = createText( text_4_value = state.elapsed(comment.time, state.time) );
|
|
|
|
var text_4 = createText( text_4_value );
|
|
|
|
|
|
|
|
appendNode( text_4, span );
|
|
|
|
appendNode( text_4, span );
|
|
|
|
appendNode( createText( " ago:" ), span );
|
|
|
|
appendNode( createText( " ago:" ), span );
|
|
|
|
appendNode( createText( "\n\n\t\t" ), div );
|
|
|
|
appendNode( createText( "\n\n\t\t" ), div );
|
|
|
@ -160,4 +160,4 @@ SvelteComponent.prototype.teardown = SvelteComponent.prototype.destroy = functio
|
|
|
|
this._torndown = true;
|
|
|
|
this._torndown = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
export default SvelteComponent;
|
|
|
|
export default SvelteComponent;
|
|
|
|