Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Added whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
heymo committed Feb 12, 2021
1 parent cacfb59 commit 4b783db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/spectrum/config/focus.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ def rf(values)
next if facet.type != 'range'
next unless facet.uid == k
Array(v).each do |val|
val.match(/^before(\d+)$/) do |m|
val.match(/^before\s*(\d+)$/) do |m|
val = "0000:#{m[1]}"
end
val.match(/^after(\d+)$/) do |m|
val.match(/^after\s*(\d+)$/) do |m|
val = "#{m[1]}:3000"
end
val.match(/^(\d+)to(\d+)$/) do |m|
val.match(/^(\d+)\s*to\s*(\d+)$/) do |m|
val = "#{m[1]}:#{m[2]}"
end
val.match(/^\d+$/) do |_m|
Expand Down

0 comments on commit 4b783db

Please sign in to comment.