webcomponents / webcomponents.github.io

WebComponents.org is where community-members document Web Components best practices
http://webcomponents.org
733 stars 118 forks source link

Remove else in authors image #150

Closed rands0n closed 10 years ago

rands0n commented 10 years ago

I think the most important of this function is return the image of the author. If it has an image of the gravatar, this function return the image of gravatar.

In this case, the else is not necessary. This is just one way to write a better code, more clean.