0.2.1 • Published 7 years ago

node-xrc v0.2.1

Weekly downloads
3
License
ISC
Repository
github
Last release
7 years ago

node-xrc

TODO

  • Test data not found to ge 404?
  • Variable substitutions with other variables?
  • Handlebars Js decorators to add inline slot content (es. a page can use a decorator to add a scripts section on the layout...)
  • Eval/compile properties and variables also invoking async function, this would allow to execute async code ...

  • Automatically replace view text with translation Using https://github.com/cheeriojs/cheerio http://jsfiddle.net/uyw5Lcbv/ $(":not(:has(*))") .each(function(i, elem) { // TODO Ignore space, empty, and text longer than 200 $(this).html("{{translate '" + $(this).text() + "'}}"); });

  • Data cache

  • DataItem and DataList variable
  • Script variables??

For contributors

Running tsc build with watch:

    npm run develop