From 458d9ab8a2be6a46cc069d2a837d6d633a9e614d Mon Sep 17 00:00:00 2001 From: CisMous Date: Thu, 2 Apr 2015 03:16:16 +0800 Subject: [PATCH 1/3] remove comma --- src/plugins.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins.js b/src/plugins.js index 3a9d1ff5fe..880265b755 100644 --- a/src/plugins.js +++ b/src/plugins.js @@ -339,7 +339,7 @@ var fs = require('fs'), winston.verbose('[plugins] Plugin libraries removed from Node.js cache'); next(); - }, + } ], next); }; From 5bb2f2bb624b410153283e0acb561cb20ca5c68f Mon Sep 17 00:00:00 2001 From: CisMous Date: Thu, 2 Apr 2015 03:16:33 +0800 Subject: [PATCH 2/3] fix type error --- install/data/categories.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/data/categories.json b/install/data/categories.json index 74b058e80f..048d995682 100644 --- a/install/data/categories.json +++ b/install/data/categories.json @@ -9,7 +9,7 @@ }, { "name": "General Discussion", - "description": "A place to talk about whateeeever you want", + "description": "A place to talk about whatever you want", "bgColor": "#59b3d0", "color": "#fff", "icon" : "fa-comments-o", From bb94c9c36b3b5b4ac366ce9f38d7e6c98b829a4d Mon Sep 17 00:00:00 2001 From: CisMous Date: Thu, 2 Apr 2015 03:17:06 +0800 Subject: [PATCH 3/3] remove unused code --- src/plugins.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/plugins.js b/src/plugins.js index 880265b755..4dee3a79d9 100644 --- a/src/plugins.js +++ b/src/plugins.js @@ -245,15 +245,6 @@ var fs = require('fs'), }); }; - function getLatestVersion(versions) { - for(var version in versions) { - if (versions.hasOwnProperty(version) && versions[version] === 'latest') { - return version; - } - } - return ''; - } - Plugins.showInstalled = function(callback) { var npmPluginPath = path.join(__dirname, '../node_modules');