Formating whitespace

gh-pages
Guillaume RISCHARD 2014-08-31 04:00:35 +02:00
parent 5d2001d369
commit dae41bc477
1 changed files with 116 additions and 127 deletions

View File

@ -256,12 +256,7 @@ function l2events() {
var label = $('<h1>').html(l2event.label).text(); var label = $('<h1>').html(l2event.label).text();
var description = $('<p>').html(l2event.has_subtitle).text(); var description = $('<p>').html(l2event.has_subtitle).text();
output += '<div class="panel">' output += '<div class="panel">' + '<h1>' + label + ' <small>' + moment(l2event.startdate, "YYYY-MM-DD HH:mm:ss").format('dddd, Do \of MMMM') + '</small></h1>' + description + '</div>';
+ '<h1>' + label + ' <small>'
+ moment( l2event.startdate, "YYYY-MM-DD HH:mm:ss").format( 'dddd, Do \of MMMM' )
+ '</small></h1>'
+ description
+ '</div>';
}; };
@ -289,10 +284,7 @@ function wortLuNews() {
var article = articles[ArticleNR]; var article = articles[ArticleNR];
output += '<div class="panel">' output += '<div class="panel">' + '<h1>' + article.title + '</h1>' + article.teaser + '</div>';
+ '<h1>' + article.title + '</h1>'
+ article.teaser
+ '</div>';
} }
@ -320,10 +312,7 @@ function cflNews() {
.find("item") .find("item")
.each(function() { .each(function() {
output += '<div class="panel">' output += '<div class="panel">' + '<h1>' + $(this).find("title").text() + '</h1>' + $(this).find("description").text() + '</div>';
+ '<h1>' + $(this).find("title").text() + '</h1>'
+ $(this).find("description").text()
+ '</div>';
}); });