Skip to content

Commit

Permalink
Remove unused let
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
yurrriq committed Jan 22, 2016
1 parent 4730487 commit 1d55d22
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
13 changes: 6 additions & 7 deletions org/Lodox.org
Original file line number Diff line number Diff line change
Expand Up @@ -746,13 +746,12 @@ Use [pandoc] if available, otherwise [erlmarkdown].
,(div '[class "doc"]
(format-docstring project module func))
;; TODO: members?
,(let ((app (binary_to_atom (mref project 'name) 'latin1)))
(case (maps:get 'source-uri project 'undefined)
('undefined []) ; Log failure to generate link?
(source-uri
(div '[class "src-link"]
(link-to (func-source-uri source-uri project module func)
"view source")))))]))
,(case (maps:get 'source-uri project 'undefined)
('undefined []) ; Log failure to generate link?
(source-uri
(div '[class "src-link"]
(link-to (func-source-uri source-uri project module func)
"view source"))))]))

(defun module-page (project module)
(html
Expand Down
13 changes: 6 additions & 7 deletions src/lodox-html-writer.lfe
Original file line number Diff line number Diff line change
Expand Up @@ -335,13 +335,12 @@ Use [pandoc] if available, otherwise [erlmarkdown].
,(div '[class "doc"]
(format-docstring project module func))
;; TODO: members?
,(let ((app (binary_to_atom (mref project 'name) 'latin1)))
(case (maps:get 'source-uri project 'undefined)
('undefined []) ; Log failure to generate link?
(source-uri
(div '[class "src-link"]
(link-to (func-source-uri source-uri project module func)
"view source")))))]))
,(case (maps:get 'source-uri project 'undefined)
('undefined []) ; Log failure to generate link?
(source-uri
(div '[class "src-link"]
(link-to (func-source-uri source-uri project module func)
"view source"))))]))

(defun module-page (project module)
(html
Expand Down

0 comments on commit 1d55d22

Please sign in to comment.