Skip to content

removing HTML comments from JST templates#126

Closed
BigBlueHat wants to merge 1 commit intoapache:masterfrom
BigBlueHat:strip-comments-from-templates
Closed

removing HTML comments from JST templates#126
BigBlueHat wants to merge 1 commit intoapache:masterfrom
BigBlueHat:strip-comments-from-templates

Conversation

@BigBlueHat
Copy link
Member

This lightens templates.js by removing HTML
comments from the templates.

@deathbearbrown @garrentsmith just some scrubbing.

@garrensmith
Copy link
Member

Hey @BigBlueHat, this is a great idea. Unfortunately it doesn't seem to work. It seems to completely remove all template data. I ran grunt couchdb which builds Fauxton and deploys to /share/www/fauxton. I then go to /_utils/fauxton/ and no templates are rendered. I also checked dist/debug/templates but the templates have been borked.

Let me know if I can help.

This lightens templates.js by removing HTML
comments from the templates.
@BigBlueHat
Copy link
Member Author

@garrensmith seems I'd left out a return... :-P

@garrensmith
Copy link
Member

Great. Works nicely. I've merged it in. You can close the pull request.

@BigBlueHat BigBlueHat closed this Jan 8, 2014
@BigBlueHat
Copy link
Member Author

Thanks, @garrensmith!

cararemixed pushed a commit to cararemixed/couchdb that referenced this pull request Dec 10, 2014
This closes apache#126

Conflicts:
	readme.md
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