remove unused function
This commit is contained in:
parent
f26f402471
commit
7d92d23718
@ -72,7 +72,7 @@ var trigger = {
|
||||
}
|
||||
};
|
||||
|
||||
var loadPlugins = function() {
|
||||
var loadPlugins = () => {
|
||||
var files = fs.readdirSync(__dirname+'/trigger/');
|
||||
files.forEach(function (file) {
|
||||
if(file.substr(-3, 3) === '.js') {
|
||||
@ -81,8 +81,4 @@ var loadPlugins = function() {
|
||||
}
|
||||
});
|
||||
};
|
||||
var use = function(fn) {
|
||||
fn(this);
|
||||
return this;
|
||||
};
|
||||
loadPlugins();
|
Loading…
Reference in New Issue
Block a user