From 8257751d2909d27ecfa0295717d3b077e1c4be8a Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Thu, 9 Nov 2017 20:39:49 +0100 Subject: [PATCH] Fixed missing whitespaces --- .editorconfig | 3 +++ .vscode/settings.json | 2 +- mixins/SoundTrack.pixy | 4 ++-- pages/soundtrack/soundtrack.pixy | 8 ++++---- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.editorconfig b/.editorconfig index d47c094d..086ccfe6 100644 --- a/.editorconfig +++ b/.editorconfig @@ -8,5 +8,8 @@ trim_trailing_whitespace = true indent_style = tab indent_size = 4 +[*.pixy] +trim_trailing_whitespace = false + [*.yml] indent_style = space \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index ee3598bc..8bb6c41e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,7 +1,7 @@ { "editor.detectIndentation": false, "editor.insertSpaces": false, - "files.trimTrailingWhitespace": false, + "files.trimTrailingWhitespace": true, "tsimporter.emitSemicolon": false, "tsimporter.doubleQuotes": true, "files.exclude": { diff --git a/mixins/SoundTrack.pixy b/mixins/SoundTrack.pixy index 6a921c4c..68100fff 100644 --- a/mixins/SoundTrack.pixy +++ b/mixins/SoundTrack.pixy @@ -20,9 +20,9 @@ component SoundTrackFooter(track *arn.SoundTrack) a.ajax(href=track.Link() + "/edit") untitled else a.ajax(href=track.Link())= track.Title - span posted + span posted span.utc-date(data-date=track.Created) - span by + span by a.ajax(href=track.Creator().Link())= track.Creator().Nick + " " component ExternalMedia(media *arn.ExternalMedia) diff --git a/pages/soundtrack/soundtrack.pixy b/pages/soundtrack/soundtrack.pixy index 1396af17..5bae8adb 100644 --- a/pages/soundtrack/soundtrack.pixy +++ b/pages/soundtrack/soundtrack.pixy @@ -36,14 +36,14 @@ component Track(track *arn.SoundTrack, user *arn.User) .tag= tag .footer.text-center.mountable if track.EditedBy != "" - span Edited + span Edited span.utc-date(data-date=track.Edited) - span by + span by span= track.EditedByUser().Nick else - span Posted + span Posted span.utc-date(data-date=track.Created) - span by + span by span= track.Creator().Nick span .