nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
benches/strings: add .gitignore and `make clean`
[nit.git]
/
src
/
metrics
/
model_hyperdoc.nit
diff --git
a/src/metrics/model_hyperdoc.nit
b/src/metrics/model_hyperdoc.nit
index
dbc7f45
..
9e66e73
100644
(file)
--- a/
src/metrics/model_hyperdoc.nit
+++ b/
src/metrics/model_hyperdoc.nit
@@
-17,10
+17,7
@@
# Dump of Nit model into hypertext human-readable format.
module model_hyperdoc
# Dump of Nit model into hypertext human-readable format.
module model_hyperdoc
-import model
import metrics_base
import metrics_base
-import phase
-import frontend
redef class ToolContext
var model_hyperdoc_phase: Phase = new ModelHyperdocPhase(self, null)
redef class ToolContext
var model_hyperdoc_phase: Phase = new ModelHyperdocPhase(self, null)
@@
-189,7
+186,7
@@
do
end
end
buf.append("</body></html>\n")
end
end
buf.append("</body></html>\n")
- var f = new OFStream.open(toolcontext.output_dir.join_path("model.html"))
+ var f = new FileWriter.open(toolcontext.output_dir.join_path("model.html"))
f.write(buf.to_s)
f.close
end
f.write(buf.to_s)
f.close
end