Removing redundant scripts from debug loader
authorDarren <darren@darrenwhitlen.com>
Fri, 19 Dec 2014 00:30:22 +0000 (00:30 +0000)
committerDarren <darren@darrenwhitlen.com>
Fri, 19 Dec 2014 00:30:22 +0000 (00:30 +0000)
server/settingsgenerator.js

index 1fe8c480d26db40856f70eef7dce62a8115e9e4f..6f70be1f0649b3ad57d628435963e2690bd5c5e3 100644 (file)
@@ -144,7 +144,7 @@ function addTranslations() {
             } catch (e) {
                 return reject(e);
             }
-            
+
             fs.readdir(__dirname + '/../client/src/translations/', function readTranslationFile(err, pofiles) {
                 var trans = [];
 
@@ -202,10 +202,7 @@ function addScripts(vars, debug) {
             'src/models/query.js',
             'src/models/server.js',     // Depends on models/channel.js
             'src/models/pluginmanager.js',
-            'src/models/datastore.js',
-            'src/helpers/utils.js',
-            'src/helpers/formatdate.js',
-            'src/helpers/plugininterface.js'
+            'src/models/datastore.js'
         ],
 
         // Some views extend these, so make sure they're loaded beforehand
@@ -250,6 +247,7 @@ function addScripts(vars, debug) {
         ]
     ]);
 
+    // Load any helpers we may have
     var helpers_path = global.config.public_http + 'src/helpers/';
     var helpers_sources = fs.readdirSync(helpers_path)
         .map(function(file){