dustjs icon indicating copy to clipboard operation
dustjs copied to clipboard

Asynchronous Javascript templating for the browser and server

Results 83 dustjs issues
Sort by recently updated
recently updated
newest added

Hi @chriseppstein I want to render newly added Items into Array. I do not want to re-render whole list. just need to append. Please help

Hi, I've got nested arrays such as this one: "outer" : [ { "inner": [ {}, {} ] }, { "inner": [ {}, {} ] } ] I neeed to...

In may scenarios things are simplified with Promises. It'd be handy to have some built into Dust e.g. (for illustration) ```javascript Object.assign(dust, { asyncRenderSource(str='', view={}) { return new Promise((res, rej)...

Is this nested structure supposed to work? feed.dust ``` {#activities} {@select key=category} {@eq value="event"}{>"views/snapshot/event"/}{/eq} {/select} {/activities} ``` event.dust ``` {@gt key=counter value="1" type="number"}{strings.last_time} {/gt}{formatted_datetime} ``` Inside the partial `event` none...

Hi, I'm trying to combine Dust (server-side) with Angular (client-side). Now Dust uses curly brackets {..}, whereas Angular uses double curly brackets {{ .. }} I was hoping Dust would...

nodejs 7.4.0 dustjs 2.7.5 Template "article.html": ``` {>html-head/} ``` 1) The property "properties.category-x" does not exist in the given context. So the error is in template "article.html" but dust says:...

Now that Chrome supports streaming, it would be really cool if the documentation could show how to tie together Dust streaming with the browser implementation. Jake Archibald has been writing...

The following code throws an uncaught exception: `require("dustjs-linkedin").renderSource("{T}{/T}", {}, function(e, r) { });` Shouldn't dust be catching this exception and passing it into the callback as the first parameter as...

Hi, When we compile dust template trough command and if dust templates are in separate folders then It takes folder name as well for Dust.Register("testFolder/\templateName") I want to generate only...

It seems that map does not work when called on an already mapped chunk. For example, this code will never execute the dust.render callback: ``` javascript dust.loadSource(dust.compile("test of async mapping...