createMain_RootDoc#
创建一个主函数和主文档#
图块代码

javascript
var main = function(params){
var jih_doc = new jihengine.JiHDocument()
return jih_doc
}
python
import jihengine
def main(params):
jih_doc = jihengine.JiHDocument()
return jih_doc
npl
local main = function(params)
local jih_doc = JiHDocument:new()
return jih_doc
end
示例#
var main = function(params){
var jih_doc = new jihengine.JiHDocument()
return jih_doc
}
import jihengine
def main(params):
jih_doc = jihengine.JiHDocument()
return jih_doc
local main = function(params)
local jih_doc = JiHDocument:new()
return jih_doc
end