nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
highlight: move hightlightcode inside HighlightVisitor
[nit.git]
/
src
/
web
/
api_light.nit
diff --git
a/src/web/api_light.nit
b/src/web/api_light.nit
index
784d683
..
835589e
100644
(file)
--- a/
src/web/api_light.nit
+++ b/
src/web/api_light.nit
@@
-31,7
+31,7
@@
class APILight
redef fun post(req, res) do
var hl = new HighlightVisitor
- var hlcode = hightlightcode(hl, req.body)
+ var hlcode = hl.highlightcode(req.body)
res.json(hlcode)
end
end