mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
vweb: bring back html() test
This commit is contained in:
parent
3107618732
commit
cb8a19efaf
2 changed files with 2 additions and 4 deletions
|
@ -26,16 +26,14 @@ pub fn (app & App) json_endpoint() {
|
|||
app.vweb.json('{"a": 3}')
|
||||
}
|
||||
|
||||
/*
|
||||
pub fn (app mut App) index() {
|
||||
app.cnt ++
|
||||
|
||||
$vweb.html()
|
||||
}
|
||||
*/
|
||||
|
||||
pub fn (app & App) text() {
|
||||
app.vweb.text('hello world')
|
||||
app.vweb.text('Hello world')
|
||||
}
|
||||
|
||||
pub fn (app mut App) cookie() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue