Skip to content

Update mustache4dart and clean up templates #1540

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

Merged
merged 7 commits into from
Nov 27, 2017
Merged

Conversation

jcollins-g
Copy link
Contributor

@jcollins-g jcollins-g commented Nov 17, 2017

Fixes #1525, #1286. This is the second breakout from #1524.

The public/private refactoring in #1524 required a large number of renames to methods used by the templates. It was extremely difficult to change those without the verification provided by a new version of mustache4dart that will raise an exception on a missing method, so updated that. That in turn revealed more bugs and problems with the use of templates, as well as some inconsistencies in output. These are fixed here.

To make reviewing the output changes easier I have the old and new versions of the test package docs serving. I suggest comparing the members of "ClassWithUnusualProperties" as properties have the most significant changes here -- most others are whitespace or HTML metadata.

old:
http://jcollins1.pdx.corp.google.com:8000/fake/ClassWithUnusualProperties-class.html
new:
http://jcollins1.pdx.corp.google.com:8001/fake/ClassWithUnusualProperties-class.html

@googlebot googlebot added the cla: yes Google CLA check succeeded. label Nov 17, 2017

@override
Set<String> get features {
Set<String> all_features = super.features;
Copy link
Member

Choose a reason for hiding this comment

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

nit: allFeatures

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@devoncarew
Copy link
Member

the verification provided by a new version of mustache4dart that will raise an exception on a missing method

👍

@jcollins-g jcollins-g merged commit e3233ec into master Nov 27, 2017
@kevmoo kevmoo deleted the mustache4dart-update branch November 30, 2017 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Google CLA check succeeded.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Included source code no longer highlights
3 participants