Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[fix] opadoc: fix function uri_of_string evaluated at toplevel

  • Loading branch information...
commit 4498056768315b3cb32ade6aa2ba9f3eddd5e906 1 parent 3e8d359
@Aqua-Ye Aqua-Ye authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 opadoc/common/opaDocUtils.opa
View
6 opadoc/common/opaDocUtils.opa
@@ -87,8 +87,8 @@ OpaDocUtils = {{
String.ordering(String.to_lower(p1), String.to_lower(p2))
List.sort_with(aux, list)
- uri_of_path =
+ uri_of_path(p) =
if OpaDocParameters.get().long_uris
- then String.replace(File.dir_sep, ".", _)
- else File.basename
+ then String.replace(File.dir_sep, ".", p)
+ else File.basename(p)
}}
Please sign in to comment.
Something went wrong with that request. Please try again.