nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
highlight: extract HTML stuff from highlight into htmlight
[nit.git]
/
src
/
examples
/
nitlight_as_a_service.nit
diff --git
a/src/examples/nitlight_as_a_service.nit
b/src/examples/nitlight_as_a_service.nit
index
cf72574
..
85f6c7e
100644
(file)
--- a/
src/examples/nitlight_as_a_service.nit
+++ b/
src/examples/nitlight_as_a_service.nit
@@
-18,7
+18,7
@@
module nitlight_as_a_service
import frontend
module nitlight_as_a_service
import frontend
-import highlight
+import htmlight
import nitcorn
import nitcorn::log
import template
import nitcorn
import nitcorn::log
import template
@@
-32,7
+32,7
@@
class HighlightAction
redef fun answer(http_request, turi)
do
redef fun answer(http_request, turi)
do
- var hl = new HighlightVisitor
+ var hl = new HtmlightVisitor
var page = new Template
# There is code? Process it
var page = new Template
# There is code? Process it