├── .gitignore ├── Makefile ├── benchmarks └── render.js ├── history.md ├── index.js ├── lib ├── express.js ├── jqtpl.js └── tags │ ├── tr.js │ └── verbatim.js ├── package.json ├── readme.md └── test ├── express.js ├── fixtures ├── 1 │ ├── layouttest.html │ ├── mylayout.html │ ├── partialtest.html │ ├── partialtest2.html │ └── view.html ├── 2 │ ├── layout.html │ ├── layout2.html │ └── views │ │ ├── partial-and-layout.html │ │ ├── partial.html │ │ └── test.html ├── 3 │ ├── layout.html │ └── view.html └── 4 │ └── view.html ├── jqtpl.js └── tags.js /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/jqtpl/HEAD/Makefile -------------------------------------------------------------------------------- /benchmarks/render.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/jqtpl/HEAD/benchmarks/render.js -------------------------------------------------------------------------------- /history.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/jqtpl/HEAD/history.md -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/jqtpl/HEAD/index.js -------------------------------------------------------------------------------- /lib/express.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/jqtpl/HEAD/lib/express.js -------------------------------------------------------------------------------- /lib/jqtpl.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/jqtpl/HEAD/lib/jqtpl.js -------------------------------------------------------------------------------- /lib/tags/tr.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/jqtpl/HEAD/lib/tags/tr.js -------------------------------------------------------------------------------- /lib/tags/verbatim.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/jqtpl/HEAD/lib/tags/verbatim.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/jqtpl/HEAD/package.json -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/jqtpl/HEAD/readme.md -------------------------------------------------------------------------------- /test/express.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/jqtpl/HEAD/test/express.js -------------------------------------------------------------------------------- /test/fixtures/1/layouttest.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/jqtpl/HEAD/test/fixtures/1/layouttest.html -------------------------------------------------------------------------------- /test/fixtures/1/mylayout.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/jqtpl/HEAD/test/fixtures/1/mylayout.html -------------------------------------------------------------------------------- /test/fixtures/1/partialtest.html: -------------------------------------------------------------------------------- 1 | {{partial(test) "view"}} -------------------------------------------------------------------------------- /test/fixtures/1/partialtest2.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/jqtpl/HEAD/test/fixtures/1/partialtest2.html -------------------------------------------------------------------------------- /test/fixtures/1/view.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/jqtpl/HEAD/test/fixtures/1/view.html -------------------------------------------------------------------------------- /test/fixtures/2/layout.html: -------------------------------------------------------------------------------- 1 | {{html body}} ${mylocal} -------------------------------------------------------------------------------- /test/fixtures/2/layout2.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/jqtpl/HEAD/test/fixtures/2/layout2.html -------------------------------------------------------------------------------- /test/fixtures/2/views/partial-and-layout.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/jqtpl/HEAD/test/fixtures/2/views/partial-and-layout.html -------------------------------------------------------------------------------- /test/fixtures/2/views/partial.html: -------------------------------------------------------------------------------- 1 | partial -------------------------------------------------------------------------------- /test/fixtures/2/views/test.html: -------------------------------------------------------------------------------- 1 | abc -------------------------------------------------------------------------------- /test/fixtures/3/layout.html: -------------------------------------------------------------------------------- 1 | layout {{html body}} 2 | -------------------------------------------------------------------------------- /test/fixtures/3/view.html: -------------------------------------------------------------------------------- 1 | view ${a} 2 | -------------------------------------------------------------------------------- /test/fixtures/4/view.html: -------------------------------------------------------------------------------- 1 | view 2 | -------------------------------------------------------------------------------- /test/jqtpl.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/jqtpl/HEAD/test/jqtpl.js -------------------------------------------------------------------------------- /test/tags.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kof/jqtpl/HEAD/test/tags.js --------------------------------------------------------------------------------