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

GoF pattern links sometimes have an "→" icon #348

Open
objectiveryan opened this issue Jun 15, 2019 · 0 comments
Open

GoF pattern links sometimes have an "→" icon #348

objectiveryan opened this issue Jun 15, 2019 · 0 comments

Comments

@objectiveryan
Copy link

Thanks for this amazing resource! I'm a long-time coder but new game developer, and I'm learning so much from your book.

For a while I was confused why some links like "Chain of Responsibility GoF" had a superscript "GoF" while others like "Factory Method " had a superscript "→", although they're both GoF patterns. Finally I looked at the source, and saw that it was due to some line breaks, like here:

<p>This usually means that you have to encapsulate construction behind some
interface that can first look for an existing object. Hiding a constructor
like this is an example of the <a
href="http://en.wikipedia.org/wiki/Factory_method_pattern" class="gof-
pattern">Factory Method</a> pattern.</p>

 
The gof-pattern class got split into gof- and pattern by a newline, so the CSS for pattern applied to the link.

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

No branches or pull requests

1 participant