From 6b47165ac137e306f7555aaf755111a2001bd49b Mon Sep 17 00:00:00 2001 From: Jure Grabnar Date: Fri, 12 Oct 2018 00:56:48 +0200 Subject: [PATCH] Fix formatting according to Houndbot --- app/assets/javascripts/projects/index.js | 3 +-- app/models/concerns/variables_model.rb | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/projects/index.js b/app/assets/javascripts/projects/index.js index 9defd81df..78f226c91 100644 --- a/app/assets/javascripts/projects/index.js +++ b/app/assets/javascripts/projects/index.js @@ -218,9 +218,8 @@ * Initialize the JS for export projects modal to work. */ function initExportProjectsModal() { - $exportProjectsBtn = $('#export-projects-button') + var $exportProjectsBtn = $('#export-projects-button'); $exportProjectsBtn.click(function() { - // Load HTML to refresh users list $.ajax({ url: $exportProjectsBtn.data('export-projects-url'), diff --git a/app/models/concerns/variables_model.rb b/app/models/concerns/variables_model.rb index 8250c5852..3bc3b8268 100644 --- a/app/models/concerns/variables_model.rb +++ b/app/models/concerns/variables_model.rb @@ -1,4 +1,4 @@ -# frozen_string_literal: true. +# frozen_string_literal: true module VariablesModel extend ActiveSupport::Concern