├── .gitignore
├── README.md
├── example
├── app.js
├── foo.css
├── foo.js
└── views
│ ├── boilerplate.ejs
│ ├── extra.ejs
│ ├── index.ejs
│ └── muppet.ejs
├── index.js
├── package.json
└── test
├── fixtures
├── _entry.ejs
├── blocks-layout.ejs
├── blog
│ ├── home.ejs
│ ├── post
│ │ ├── comment.ejs
│ │ └── index.ejs
│ └── user.ejs
├── collection.ejs
├── filters-custom.ejs
├── filters.ejs
├── include-chain-2.ejs
├── include-chain.ejs
├── index.ejs
├── inherit-child-blocks.ejs
├── inherit-child.ejs
├── inherit-grandchild-blocks.ejs
├── inherit-grandchild.ejs
├── inherit-parent-blocks.ejs
├── inherit-parent.ejs
├── layout.ejs
├── locals.ejs
├── mobile.ejs
├── non-existent-partial.ejs
├── parent-include-chain.ejs
├── path
│ └── to
│ │ └── thing.ejs
├── subfolder
│ ├── sub-include-chain.ejs
│ ├── sub-layout.ejs
│ ├── subitem-with-layout.ejs
│ ├── subitem.ejs
│ └── sublocals.ejs
├── thing
│ └── index.ejs
├── with-absolute-include.ejs
├── with-absolute-sub-include.ejs
├── with-blocks.ejs
├── with-include-chain-subfolder.ejs
├── with-include-chain.ejs
├── with-include.ejs
├── with-layout.ejs
└── with-two-includes.ejs
├── support
└── http.js
└── test.partials.js
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | npm-debug.log
3 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/README.md
--------------------------------------------------------------------------------
/example/app.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/example/app.js
--------------------------------------------------------------------------------
/example/foo.css:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/example/foo.css
--------------------------------------------------------------------------------
/example/foo.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/example/foo.js
--------------------------------------------------------------------------------
/example/views/boilerplate.ejs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/example/views/boilerplate.ejs
--------------------------------------------------------------------------------
/example/views/extra.ejs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/example/views/extra.ejs
--------------------------------------------------------------------------------
/example/views/index.ejs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/example/views/index.ejs
--------------------------------------------------------------------------------
/example/views/muppet.ejs:
--------------------------------------------------------------------------------
1 |
<%=muppet%>
--------------------------------------------------------------------------------
/index.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/index.js
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/package.json
--------------------------------------------------------------------------------
/test/fixtures/_entry.ejs:
--------------------------------------------------------------------------------
1 | <%= entry.name %>
--------------------------------------------------------------------------------
/test/fixtures/blocks-layout.ejs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/test/fixtures/blocks-layout.ejs
--------------------------------------------------------------------------------
/test/fixtures/blog/home.ejs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/test/fixtures/blog/home.ejs
--------------------------------------------------------------------------------
/test/fixtures/blog/post/comment.ejs:
--------------------------------------------------------------------------------
1 | <%=comment.text%>
--------------------------------------------------------------------------------
/test/fixtures/blog/post/index.ejs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/test/fixtures/blog/post/index.ejs
--------------------------------------------------------------------------------
/test/fixtures/blog/user.ejs:
--------------------------------------------------------------------------------
1 | <%=user.name%>
--------------------------------------------------------------------------------
/test/fixtures/collection.ejs:
--------------------------------------------------------------------------------
1 | <%- partial(name,list) %>
--------------------------------------------------------------------------------
/test/fixtures/filters-custom.ejs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/test/fixtures/filters-custom.ejs
--------------------------------------------------------------------------------
/test/fixtures/filters.ejs:
--------------------------------------------------------------------------------
1 | <%=: hello | upcase %>
--------------------------------------------------------------------------------
/test/fixtures/include-chain-2.ejs:
--------------------------------------------------------------------------------
1 | <%= hello %>
--------------------------------------------------------------------------------
/test/fixtures/include-chain.ejs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/test/fixtures/include-chain.ejs
--------------------------------------------------------------------------------
/test/fixtures/index.ejs:
--------------------------------------------------------------------------------
1 | Index
--------------------------------------------------------------------------------
/test/fixtures/inherit-child-blocks.ejs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/test/fixtures/inherit-child-blocks.ejs
--------------------------------------------------------------------------------
/test/fixtures/inherit-child.ejs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/test/fixtures/inherit-child.ejs
--------------------------------------------------------------------------------
/test/fixtures/inherit-grandchild-blocks.ejs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/test/fixtures/inherit-grandchild-blocks.ejs
--------------------------------------------------------------------------------
/test/fixtures/inherit-grandchild.ejs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/test/fixtures/inherit-grandchild.ejs
--------------------------------------------------------------------------------
/test/fixtures/inherit-parent-blocks.ejs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/test/fixtures/inherit-parent-blocks.ejs
--------------------------------------------------------------------------------
/test/fixtures/inherit-parent.ejs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/test/fixtures/inherit-parent.ejs
--------------------------------------------------------------------------------
/test/fixtures/layout.ejs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/test/fixtures/layout.ejs
--------------------------------------------------------------------------------
/test/fixtures/locals.ejs:
--------------------------------------------------------------------------------
1 | <%= hello %>
--------------------------------------------------------------------------------
/test/fixtures/mobile.ejs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/test/fixtures/mobile.ejs
--------------------------------------------------------------------------------
/test/fixtures/non-existent-partial.ejs:
--------------------------------------------------------------------------------
1 | <%-partial('non-existent')%>
--------------------------------------------------------------------------------
/test/fixtures/parent-include-chain.ejs:
--------------------------------------------------------------------------------
1 | <%= hello %>
--------------------------------------------------------------------------------
/test/fixtures/path/to/thing.ejs:
--------------------------------------------------------------------------------
1 | <%= thing.name %>
--------------------------------------------------------------------------------
/test/fixtures/subfolder/sub-include-chain.ejs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/test/fixtures/subfolder/sub-include-chain.ejs
--------------------------------------------------------------------------------
/test/fixtures/subfolder/sub-layout.ejs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/test/fixtures/subfolder/sub-layout.ejs
--------------------------------------------------------------------------------
/test/fixtures/subfolder/subitem-with-layout.ejs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/test/fixtures/subfolder/subitem-with-layout.ejs
--------------------------------------------------------------------------------
/test/fixtures/subfolder/subitem.ejs:
--------------------------------------------------------------------------------
1 | Index
--------------------------------------------------------------------------------
/test/fixtures/subfolder/sublocals.ejs:
--------------------------------------------------------------------------------
1 | <% include subitem %>
--------------------------------------------------------------------------------
/test/fixtures/thing/index.ejs:
--------------------------------------------------------------------------------
1 | <%= thing.name %>
--------------------------------------------------------------------------------
/test/fixtures/with-absolute-include.ejs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/test/fixtures/with-absolute-include.ejs
--------------------------------------------------------------------------------
/test/fixtures/with-absolute-sub-include.ejs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/test/fixtures/with-absolute-sub-include.ejs
--------------------------------------------------------------------------------
/test/fixtures/with-blocks.ejs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/test/fixtures/with-blocks.ejs
--------------------------------------------------------------------------------
/test/fixtures/with-include-chain-subfolder.ejs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/test/fixtures/with-include-chain-subfolder.ejs
--------------------------------------------------------------------------------
/test/fixtures/with-include-chain.ejs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/test/fixtures/with-include-chain.ejs
--------------------------------------------------------------------------------
/test/fixtures/with-include.ejs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/test/fixtures/with-include.ejs
--------------------------------------------------------------------------------
/test/fixtures/with-layout.ejs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/test/fixtures/with-layout.ejs
--------------------------------------------------------------------------------
/test/fixtures/with-two-includes.ejs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/test/fixtures/with-two-includes.ejs
--------------------------------------------------------------------------------
/test/support/http.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/test/support/http.js
--------------------------------------------------------------------------------
/test/test.partials.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RandomEtc/ejs-locals/HEAD/test/test.partials.js
--------------------------------------------------------------------------------