nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
example: intro an emscripten wrapper around fibonacci
[nit.git]
/
lib
/
template.nit
diff --git
a/lib/template.nit
b/lib/template.nit
index
d254c24
..
f8916b3
100644
(file)
--- a/
lib/template.nit
+++ b/
lib/template.nit
@@
-79,9
+79,7
@@
module template
# end
# # ...
# end
-# var l = new LnkTmpl
-# l.text = "hello world"
-# l.href = "hello.png"
+# var l = new LnkTmpl("hello world", null, "hello.png")
# assert l.write_to_string == """<a href="hello.png">hello world</a>"""
#
class Template