Skip to content

Conversation

@tarnowsc
Copy link

this leaves the global t variable when using the normal way but allows to use as a proper reqire.js module i.e.

define(["t"], function (t) {
    return (new t("{{=data}}")).render({data: 'myData'});
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants