Commit 142a467b authored by Ricardo J. Mendez's avatar Ricardo J. Mendez

Updated comments that didn't follow the style guide conventions

https://github.com/bbatsov/clojure-style-guide
parent e0b7492c
Pipeline #4675076 passed with stage
in 1 minute and 52 seconds
......@@ -26,13 +26,13 @@
is-penalized? (and (not (is-http? url))
(not is-priority?))
tab-time (cond
; Add an extra score if it's a priority URL
;; Add an extra score if it's a priority URL
is-priority? (+ sound-extra-score idx)
; If a URL is penalized, we want it to at least have a
; value of 1, otherwise the tab time gets ignored and
; we'd default to using the raw site time
;; If a URL is penalized, we want it to at least have a
;; value of 1, otherwise the tab time gets ignored and
;; we'd default to using the raw site time
is-penalized? (max url-time 1)
; ... otherwise we just go with the raw URL time
;; ... otherwise we just go with the raw URL time
:else url-time)
site-time (or (:time (get site-times (host-key (hostname url)))) 0)
total (+ tab-time site-time)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment