From 9a15438c71b47bae8a2a88446027258bbc03a88a Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Fri, 17 Aug 2018 11:04:38 -0500 Subject: [PATCH] Minor formatting changes --- src/invidious.cr | 3 ++- src/invidious/views/channel.ecr | 2 +- src/invidious/views/components/video.ecr | 2 +- src/invidious/views/data_control.ecr | 2 +- src/invidious/views/embed.ecr | 2 +- src/invidious/views/error.ecr | 2 +- src/invidious/views/playlist.ecr | 2 +- src/invidious/views/preferences.ecr | 2 +- src/invidious/views/search.ecr | 2 +- src/invidious/views/subscription_manager.ecr | 2 +- src/invidious/views/subscriptions.ecr | 2 +- 11 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/invidious.cr b/src/invidious.cr index f91e4c72..e1b3560f 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -1866,7 +1866,8 @@ get "/api/v1/comments/:id" do |env| env.response.content_type = "application/json" next {"title" => reddit_thread.title, "permalink" => reddit_thread.permalink, - "contentHtml" => content_html}.to_json + "contentHtml" => content_html, + }.to_json end end diff --git a/src/invidious/views/channel.ecr b/src/invidious/views/channel.ecr index 8360d30c..00817076 100644 --- a/src/invidious/views/channel.ecr +++ b/src/invidious/views/channel.ecr @@ -55,4 +55,4 @@ Next page <% end %> - \ No newline at end of file + diff --git a/src/invidious/views/components/video.ecr b/src/invidious/views/components/video.ecr index 779016da..7bf9a8a8 100644 --- a/src/invidious/views/components/video.ecr +++ b/src/invidious/views/components/video.ecr @@ -20,4 +20,4 @@
Shared <%= recode_date(video.published) %> ago
<% end %> - \ No newline at end of file + diff --git a/src/invidious/views/data_control.ecr b/src/invidious/views/data_control.ecr index 97e4fafd..87c7e64a 100644 --- a/src/invidious/views/data_control.ecr +++ b/src/invidious/views/data_control.ecr @@ -52,4 +52,4 @@ - \ No newline at end of file + diff --git a/src/invidious/views/embed.ecr b/src/invidious/views/embed.ecr index 61dfe0ea..8daf62a5 100644 --- a/src/invidious/views/embed.ecr +++ b/src/invidious/views/embed.ecr @@ -26,4 +26,4 @@ <%= rendered "components/player" %> - \ No newline at end of file + diff --git a/src/invidious/views/error.ecr b/src/invidious/views/error.ecr index d5ec9dca..e5572776 100644 --- a/src/invidious/views/error.ecr +++ b/src/invidious/views/error.ecr @@ -4,4 +4,4 @@
<%= error_message %> -
\ No newline at end of file + diff --git a/src/invidious/views/playlist.ecr b/src/invidious/views/playlist.ecr index e5fbf395..f3d08ce9 100644 --- a/src/invidious/views/playlist.ecr +++ b/src/invidious/views/playlist.ecr @@ -39,4 +39,4 @@ Next page <% end %> - \ No newline at end of file + diff --git a/src/invidious/views/preferences.ecr b/src/invidious/views/preferences.ecr index dea6d8b9..ce4ee64b 100644 --- a/src/invidious/views/preferences.ecr +++ b/src/invidious/views/preferences.ecr @@ -144,4 +144,4 @@ function update_value(element) { - \ No newline at end of file + diff --git a/src/invidious/views/search.ecr b/src/invidious/views/search.ecr index 350adc4b..192db364 100644 --- a/src/invidious/views/search.ecr +++ b/src/invidious/views/search.ecr @@ -20,4 +20,4 @@
Next page
- \ No newline at end of file + diff --git a/src/invidious/views/subscription_manager.ecr b/src/invidious/views/subscription_manager.ecr index 59cee9d7..22c30b9e 100644 --- a/src/invidious/views/subscription_manager.ecr +++ b/src/invidious/views/subscription_manager.ecr @@ -33,4 +33,4 @@
<% end %> -<% end %> \ No newline at end of file +<% end %> diff --git a/src/invidious/views/subscriptions.ecr b/src/invidious/views/subscriptions.ecr index 9ca38c70..e7d8252f 100644 --- a/src/invidious/views/subscriptions.ecr +++ b/src/invidious/views/subscriptions.ecr @@ -48,4 +48,4 @@ Next page <% end %> - \ No newline at end of file +