Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-266 store rendered template in global #274

Merged
merged 4 commits into from
Jun 2, 2013
Merged

GH-266 store rendered template in global #274

merged 4 commits into from
Jun 2, 2013

Conversation

vybs
Copy link
Contributor

@vybs vybs commented Jun 1, 2013

@vybs
Copy link
Contributor Author

vybs commented Jun 1, 2013

@rragan @jairodemorais @brikis98 review please.

if (context instanceof Context) {
return context;
}
return new Context(new Stack(context));
var global= {};
global._t = name;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

_t is not a very descriptive name. Perhaps __template_name__?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, will update PR soon.Thanks for the review.

@brikis98
Copy link

brikis98 commented Jun 2, 2013

Looks good overall and will definitely be very useful. I added just one minor comment on the variable name being clearer.

vybs added a commit that referenced this pull request Jun 2, 2013
GH-266 store rendered template in global
@vybs vybs merged commit 07d599b into linkedin:master Jun 2, 2013
@vybs
Copy link
Contributor Author

vybs commented Jun 2, 2013

retagging to 1.2.5 once the merge completes

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.

2 participants