Skip to content

Node.js based forum software built for the modern web

minor tweak to var names

Julian Lamd1eba104d2e7
diff --git a/src/meta.js b/src/meta.js
index cef411b674..3a1caec33a 100644
--- a/src/meta.js
+++ b/src/meta.js
@@ -249,10 +249,10 @@ var fs = require('fs'),
jsPaths = scripts.map(function (jsPath) {
if (jsPath.substring(0, 7) === 'plugins') {
var paths = jsPath.split('/'),
- pluginID = paths[1];
+ mappedPath = paths[1];
- jsPath = jsPath.replace(path.join('plugins', pluginID), '');
- return path.join(plugins.staticDirs[pluginID], jsPath);
+ jsPath = jsPath.replace(path.join('plugins', mappedPath), '');
+ return path.join(plugins.staticDirs[mappedPath], jsPath);
} else {
return path.join(__dirname, '..', '/public', jsPath);
}