Skip to content

Commit

Permalink
Rename to render example
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiiks committed Aug 26, 2018
1 parent 6d8ef35 commit b18559a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"info": {
"id": "custom-elements",
"name": "Custom Elements Example",
"id": "render-example",
"name": "Render Example",
"authors": [
{
"name": "Jiiks",
Expand All @@ -11,7 +11,7 @@
}
],
"version": 1.0,
"description": "Custom Elements Description"
"description": "Example for rendering stuff"
},
"main": "index.js"
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,13 @@ module.exports = (Plugin, Api, Vendor) => {
return class extends Plugin {

async onStart() {
Logger.log('Custom Elements Example Started');
this.injectStyle();
this.patchGuildTextChannel();
this.patchMessages();
return true;
}

async onStop() {
Logger.log('Custom Elements Example Stopped');
// The automatic unpatcher is not there yet
Patcher.unpatchAll();
CssUtils.deleteAllStyles();
Expand Down

0 comments on commit b18559a

Please sign in to comment.