From 7d92d237184d215feef914672cbe5830277bec58 Mon Sep 17 00:00:00 2001 From: Flummi Date: Mon, 29 Aug 2016 22:24:26 +0200 Subject: [PATCH] remove unused function --- src/main.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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