Skip to content

Find partial to get partial#413

Merged
bmuenzenmeyer merged 6 commits intopattern-lab:devfrom
e2tha-e:findPartial-to-getPartial
Aug 11, 2016
Merged

Find partial to get partial#413
bmuenzenmeyer merged 6 commits intopattern-lab:devfrom
e2tha-e:findPartial-to-getPartial

Conversation

@e2tha-e
Copy link
Copy Markdown
Contributor

@e2tha-e e2tha-e commented Jul 29, 2016

Addresses #407

Summary of changes:
@bmuenzenmeyer
Mostly just simple name changes. This helps when grepping for one function vs the other.

Also includes minor updates to the getPartial function itself. One avoids string-concatenation and the hard-coded "mustache" extension. Another replaces throw with console.error because throw throws misleading messages when the error is nothing more than a match not being found.

@bmuenzenmeyer bmuenzenmeyer self-assigned this Aug 1, 2016
@bmuenzenmeyer bmuenzenmeyer added this to the 2.4.0 milestone Aug 2, 2016
@bmuenzenmeyer
Copy link
Copy Markdown
Member

A thorough PR that aligns with the roadmap - thanks !

@bmuenzenmeyer bmuenzenmeyer merged commit dd2bca1 into pattern-lab:dev Aug 11, 2016
bmuenzenmeyer added a commit that referenced this pull request Aug 13, 2016
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