I'm trying to build an Adobe Air app not using Flash but HTML5. I hit a snag when trying to use templates since most of them like handlebars and underscore's templates rely on eval
or new Function(...)
or Function.apply(...)
and Adobe Air has restricted runtime use of eval
to parsing only JSON objects.
Does anyone know of a js templating engine that will work on Air apps?
Templating libraries that do not use eval
or Function
Another templating engine that doesn't use eval
or Function
:
Another famous template engine compatibe to Adobe AIR and my favorite choice: markup.js from Adam Mark. I like it, because the Syntax is like Handelbar.js or Template7.js. Clear and intuitive!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.