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

add option 'pathPrepend' #16

Merged
merged 4 commits into from
Mar 27, 2013
Merged

add option 'pathPrepend' #16

merged 4 commits into from
Mar 27, 2013

Conversation

mbarchein
Copy link
Contributor

This PR proposes a new option to prepend some custom string to $templateCache template's id

options: { base: 'src/views' },
options: {
base: 'src/views', // strips this string from beggining of $templateCache id
pathPrepend: '/static/assets/' // optional, prepends this string to $templateCache id
Copy link
Owner

Choose a reason for hiding this comment

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

How do you feel about turning this into just prepend? I hate to delay a useful PR, so I'll make the change if you approve and would like! Then I'll bump & release ASAP :D

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, go on

@ericclemmons ericclemmons merged commit 990e82b into ericclemmons:master Mar 27, 2013
@ericclemmons
Copy link
Owner

Just deployed v0.3.1 for you! (baad256)

Thanks for your help @mbarchein! Let me know if you have any issues and I'll patch 'em :D

@mbarchein
Copy link
Contributor Author

Thank you

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