Comments (5)
Adding it to .compile()
is simple, but there doesn't seem to be a better way to do the same thing for .render()
without changing the API or boxing the string (which gives terrible console.log
output without .toString()
).
from ejs.
See WIP: https://github.com/mde/ejs/tree/deps
from ejs.
I don't need it on .render
, so that would be fine with me. I think it would be fair enough to say that people who need access to the dependencies must use the compile
api.
from ejs.
@mde, any comments on this?
from ejs.
Doesn't seem all that useful for render
anyhow. I can see the utility for this though, and it doesn't add much complexity to the code. Let's do it.
from ejs.
Related Issues (20)
- Option to not overwrite unchanged files when using CLI?
- Functions do not return embedded HTML HOT 2
- Add a precompile step HOT 3
- Update jake dependency to avoid [email protected] snyk vulnerability HOT 1
- Fetching Include from a database? HOT 1
- Client True includes are not getting imports recursively HOT 1
- <%-%> auto converting \n in <br> HOT 1
- I just canβt solve the problem with include, I tried different methods, different syntaxes HOT 1
- global scope of variables HOT 1
- Meterian Scan - Security Issue (concat-map version 0.0.1) HOT 4
- Cannot read properties of null if CSS is linked HOT 2
- Is there a way to use ejs on the front-end? HOT 3
- How can we automate dependencies update in project with placeholders? EJS HOT 1
- Eval issue; "data is not defined" HOT 1
- jake aborted - unable to make/build ejs HOT 2
- uglify is not recognized HOT 1
- async option is not true async 3.1.10
- Include partial inside of another partial HOT 2
- How to deply express app with ejs files on netlify.
- SECURITY.md explained HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ejs.