problem description
can type like text/template be easily defined? Or are there any defining rules and reading rules?
the environmental background of the problems and what methods you have tried
see a piece of code, write an object in script, do not understand how to read this? The current idea is to read innerHTML, but it feels strange, is there any other way to read it?
related codes
/ / Please paste the code text below (do not replace the code with pictures)
< script type= "text/lizard-config" >
{
url_schema: "hotellist",
viewName: "hotellist",
model:{
apis: []
},
view:{
"header": Lizard.T("<h1></h1>"),
"viewport": Lizard.T("hotellistTmpl")
},
controller: __resource_base_url__ + "webresource/views/dp.hotel.list.js"
}
< / script >