This commit is contained in:
barisusakli 2016-02-26 12:57:29 +02:00
parent db7b85ebde
commit 9eaead7574
7 changed files with 338 additions and 0 deletions

13
plugin.json Normal file
View file

@ -0,0 +1,13 @@
{
"library": "./index.js",
"hooks": [
{ "hook": "static:app.load", "method": "init"},
{ "hook": "action:post.upvote", "method": "onUpvote"},
{ "hook": "action:post.downvote", "method": "onDownvote"},
{ "hook": "action:post.unvote", "method": "onUnvote"},
{ "hook": "action:plugin.activate", "method": "activate"},
{ "hook": "action:plugin.deactivate", "method": "deactivate"},
{ "hook": "filter:navigation.available", "method": "getNavigation"}
],
"templates": "static/templates"
}