We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2486197 commit bd6a9fdCopy full SHA for bd6a9fd
app/site/src/components/Explore.vue
@@ -3,8 +3,7 @@
3
<h1 class="thin">Explore</h1>
4
<ul>
5
<li v-for="tag in coolStuff">
6
- <a :href="'#' + tag"
7
- @click="filterByTag(tag)">{{ tag }}</a>
+ <a :href="'#' + tag" @click="filterByTag(tag)">{{ tag }}</a>
8
</li>
9
</ul>
10
</section>
app/site/src/components/Item.vue
@@ -34,7 +34,7 @@ export default {
34
* @return {String|null}
35
*/
36
githubBadgeUrl() {
37
- const re = /https?:\/\/github\.com\/([A-Za-z0-9-_]*)\/([A-Za-z0-9-_]*)\/?$/i
+ const re = /https?:\/\/github\.com\/([A-Za-z0-9-_\.]*)\/([A-Za-z0-9-_\.]*)\/?$/i
38
const matches = re.exec(this.item.url)
39
return matches
40
? `https://img.shields.io/github/stars/${matches[1]}/${matches[2]}.svg?style=social&label=★`
0 commit comments