diff --git a/src/main.js b/src/main.js index 695ab4d..8ab875b 100644 --- a/src/main.js +++ b/src/main.js @@ -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(); \ No newline at end of file