dependabot[bot] on npm_and_yarn
Bump json5 from 1.0.1 to 1.0.2 … (compare)
nebrelbug on npm_and_yarn
nebrelbug on master
Bump qs from 6.5.2 to 6.5.3 Bu… Merge pull request #249 from sq… (compare)
nebrelbug on npm_and_yarn
nebrelbug on master
Bump tmpl from 1.0.4 to 1.0.5 … Merge pull request #234 from sq… (compare)
nebrelbug on npm_and_yarn
nebrelbug on master
Bump i from 0.3.6 to 0.3.7 Bum… Merge pull request #235 from sq… (compare)
dependabot[bot] on npm_and_yarn
Bump qs from 6.5.2 to 6.5.3 Bu… (compare)
Hmm... the best way might be to put your template in a script tag.
<script id="template" type="text/x-squirrelly-template">
Your template here
</script>
Since the script type is unrecognized, calling innerHTML
should give you the raw inner content :). Handlebars and others recommend using the <script>
tag as well.
Let me know if this helps!
defaultFilter
(defaultFilter
is still called before all other filters, which is slightly inconsistent)
nl2br
, join
, first
, etc.) into Squirrelly.
@/all Hey everyone! Just wanted to share that Squirrelly is looking for a new lead maintainer: see squirrellyjs/squirrelly#210. As of October 28th, I will be unable to continue developing the project.
My plan is to have Squirrelly's API stabilized and well-tested by that time. We should also have fairly decent documentation, several plugins, and integrations with popular tools and server frameworks.
In case I'm unable to find a maintainer, I have backup plans to ensure that Squirrelly can continue to be developed (see the link above for more info).
Several of you on this chat have been influential in guiding Squirrelly's progress -- message me if you would like to become a maintainer! (In the link above, I listed a few maintainer requirements you should check first)
something.property
contains null and I'd like to use an empty string as a fallback value so it doesn't print null in the rendered output)
app.set('view engine', Sqrl)
, but that expected a string. So I'll just use a wrapper module to pre-configure Squirrelly. Thanks a lot for the tip @aarongerig ^-^