mirror of
https://github.com/lxsang/antd-web-apps
synced 2025-01-01 03:48:20 +01:00
21 lines
328 B
Lua
21 lines
328 B
Lua
|
-- This is the base model class
|
||
|
require("OOP")
|
||
|
-- create class
|
||
|
Template = Object:extends{registry = {}}
|
||
|
|
||
|
function Template:initialize()
|
||
|
self.vars = {}
|
||
|
end
|
||
|
|
||
|
function Template:set(k, v, ow)
|
||
|
end
|
||
|
|
||
|
function Template:remove(k)
|
||
|
end
|
||
|
|
||
|
-- infer view path
|
||
|
function setView(name, controller)
|
||
|
end
|
||
|
-- render the page
|
||
|
function render()
|
||
|
end
|