dist/dust-intl.js
/**
        A block wrapper which stashes the `params` in the context so that
        they are available for other intl helpers within the block.
        @method intl
        @param {Object} chunk The dust Chunk object.
        @param {Object} context The dust Context object.
        @param {Object} bodies An object containing the dust bodies.
        @param {Object} params An object containing the parameters in the markup for this helper.
        @return {Object} The `chunk` parameter.
        */
A block wrapper which stashes the `params` in the context so that
they are available for other intl helpers within the block.
A block wrapper which stashes the ` params ` in the context so that they are available for other intl helpers within the block .
function intl(chunk, context, bodies, params) {
            var ctx = {};
            if (bodies.block) {
                ctx.intl = params || {};
                return chunk.render(bodies.block, context.push(ctx));
            }
            return chunk;
        }
function intl ( chunk , context , bodies , params ) { var ctx = { } ; if ( bodies . block ) { ctx . intl = params || { } ; return chunk . render ( bodies . block , context . push ( ctx ) ) ; } return chunk ; }
A block wrapper which stashes the `params` in the context so that
they are available for other intl helpers within the block.
A block wrapper which stashes the ` params ` in the context so that they are available for other intl helpers within the block .