adding all the dev files, package, webpack etc, including build which will contain minified release
16 lines
277 B
JavaScript
16 lines
277 B
JavaScript
class Emote {
|
|
constructor({ code, url }) {
|
|
this.code = code;
|
|
this.url = url;
|
|
}
|
|
|
|
get html() {
|
|
return (`
|
|
<span class="Emote">
|
|
<img title="${this.code}" src="${this.url}" alt="${this.code}">
|
|
</span>
|
|
`).trim();
|
|
}
|
|
}
|
|
|
|
export default Emote; |