Commit 795ce9dc authored by Alfredo Sumaran's avatar Alfredo Sumaran

Wrap components with a single element for Vue 2 compatibility

parent 76421f66
......@@ -18,6 +18,7 @@
commit: Object,
},
template: `
<div>
<div class="item-details item-conmmit-component">
<h5 class="item-title">
<a href="commit.url">{{ commit.title }}</a>
......@@ -44,6 +45,7 @@
<abbr title="Minutes">mins</abbr>
</span>
</div>
<div>
`,
});
}(window.gl || (window.gl = {})));
......@@ -20,6 +20,7 @@
issue: Object,
},
template: `
<div>
<div class="item-details">
<img class="avatar" src="https://secure.gravatar.com/avatar/3731e7dd4f2b4fa8ae184c0a7519dd58?s=64&amp;d=identicon">
<h5 class="item-title">
......@@ -53,6 +54,7 @@
<abbr title="Minutes">mins</abbr>
</span>
</div>
</div>
`,
});
})(window.gl || (window.gl = {}));
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment