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

Blueprint: replace multiple occurences of __name__ with module name #1658

Merged
merged 1 commit into from
Aug 13, 2014

Conversation

riekus
Copy link
Contributor

@riekus riekus commented Aug 13, 2014

When using a folder structure like below, only the first occurence of __name__ would be replaced by the module name. By using String.replace(/__name__/g), all occurences are replaced, allowing for a more scalable blueprint structure.

files
|__app
   |__pods
      |____name__
        |____name__-controller.js

@bcardarella
Copy link
Contributor

👍

rwjblue added a commit that referenced this pull request Aug 13, 2014
Blueprint: replace multiple occurences of __name__ with module name
@rwjblue rwjblue merged commit 97745c9 into ember-cli:master Aug 13, 2014
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

3 participants