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 module to available options #20

Merged
merged 1 commit into from
Apr 24, 2013

Conversation

sidwood
Copy link
Contributor

@sidwood sidwood commented Apr 24, 2013

Hi there,

This commit allows for grunt targets that do not match the angular module name. It's fully backwards compatible, includes tests, and a README update.

Let me know if you have any concerns or change requests.

Cheers,

Sid

Allow for grunt targets that do not match the angular module name.
base: 'src/views', // $templateCache ID will be relative to this folder
prepend: '/static/assets/' // (Optional) Prepend path to $templateCache ID
prepend: '/static/assets/', // (Optional) Prepend path to $templateCache ID
module: 'App' // (Optional) The module the templates will be added to, defaults to target if not present ('build' in this case)
Copy link
Owner

Choose a reason for hiding this comment

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

The whitespace nazi in me wants to align the // part, but I can't argue with progress!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I know what you mean. I'm a right margin nut so the whole line was making me hyperventilate.

Copy link
Owner

Choose a reason for hiding this comment

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

Sounds like we should work together :)

I ended up splitting it up into 2 lines for v0.3.2, so we both win!

ericclemmons added a commit that referenced this pull request Apr 24, 2013
Add module to available options
@ericclemmons ericclemmons merged commit 53d618b into ericclemmons:master Apr 24, 2013
@ericclemmons
Copy link
Owner

71685ba

v0.3.2 should be available via NPM.

Thanks for the awesome PR!

@sidwood
Copy link
Contributor Author

sidwood commented Apr 25, 2013

And thank you for the speedy merge!

@sidwood sidwood deleted the module-option branch June 7, 2013 09:26
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