adding dev files to master
adding all the dev files, package, webpack etc, including build which will contain minified release
This commit is contained in:
16
src/content/Emotes/Emote.js
Normal file
16
src/content/Emotes/Emote.js
Normal file
@@ -0,0 +1,16 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user