From d877872c71cbb11fe9a13290d58858cf164902c8 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 8 Oct 2014 10:08:37 -0700 Subject: [PATCH] Use right require path --- static/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/index.js b/static/index.js index 5963863be..3304edb8c 100644 --- a/static/index.js +++ b/static/index.js @@ -18,7 +18,7 @@ window.onload = function() { require('coffee-script').register(); require(path.resolve(__dirname, '..', 'src', 'coffee-cache')).register(); - ModuleCache = require('./module-cache'); + ModuleCache = require(path.resolve(__dirname, '..', 'src', 'module-cache')); ModuleCache.add(loadSettings.resourcePath); ModuleCache.register();