Permalink
Browse files

[fix] opadoc: fix function uri_of_string evaluated at toplevel

  • Loading branch information...
Aqua-Ye committed Oct 25, 2011
1 parent 3e8d359 commit 4498056768315b3cb32ade6aa2ba9f3eddd5e906
Showing with 3 additions and 3 deletions.
  1. +3 −3 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)
}}

0 comments on commit 4498056

Please sign in to comment.