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

HTML Templates #197

Merged
merged 2 commits into from
Apr 22, 2014
Merged

HTML Templates #197

merged 2 commits into from
Apr 22, 2014

Conversation

michaeljb
Copy link
Collaborator

Uses grunt to create src/ext/templates.js from HTML templates stored in src/templates/.

template files instead of strings embedded in the javascript
- use grunt-wrap to wrap templates.js in an anonymous function
- create new grunt task 'templates' to call the 'jst' and 'wrap' tasks
@aiannacc
Copy link
Owner

Fantastic! I'll set up grunt and test this evening.

@michaeljb
Copy link
Collaborator Author

Don't remember if I already said this somewhere else, but to set up grunt
you'll need to install node+npm, run "npm install -g grunt-cli" then run
"npm install" in the project directory.

After it gets accepted I can update the wiki with these instructions.

On Monday, April 21, 2014, Andrew Iannaccone notifications@github.com
wrote:

Fantastic! I'll set up grunt and test this evening.


Reply to this email directly or view it on GitHubhttps://github.com//pull/197#issuecomment-40965759
.

Michael Brandt

@aiannacc aiannacc merged commit 08c09c5 into beta Apr 22, 2014
@aiannacc
Copy link
Owner

Nice work! I tested in Chrome and Firefox.

@aiannacc aiannacc deleted the templates branch April 22, 2014 08:53
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.

None yet

2 participants