add another dummy plugin for testing
This commit is contained in:
parent
b3f5f46e74
commit
497e989e76
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"info": {
|
||||
"name": "Example Plugin 2",
|
||||
"authors": ["Jiiks"],
|
||||
"version": 1.0,
|
||||
"description": "Example Plugin 2 Description"
|
||||
},
|
||||
"main": "index.js",
|
||||
"defaultConfig": {
|
||||
"foo": "bar"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
module.exports = (Plugin, Api, Vendor) => {
|
||||
|
||||
const { $, moment } = Vendor;
|
||||
const { Events } = Api;
|
||||
|
||||
const test = 'Testing';
|
||||
|
||||
return class extends Plugin {
|
||||
test() {
|
||||
return test;
|
||||
}
|
||||
|
||||
onStart() {
|
||||
console.log('On Start!');
|
||||
}
|
||||
}
|
||||
|
||||
}
|
|
@ -2,7 +2,8 @@
|
|||
"info": {
|
||||
"name": "Example Plugin",
|
||||
"authors": ["Jiiks"],
|
||||
"version": 1.0
|
||||
"version": 1.0,
|
||||
"description": "Example Plugin Description"
|
||||
},
|
||||
"main": "index.js",
|
||||
"defaultConfig": {
|
||||
|
|
Loading…
Reference in New Issue