From 3d511060ceeffefedb3f76c80e3973e2b6411dc9 Mon Sep 17 00:00:00 2001 From: Alan Plum Date: Thu, 9 Jan 2014 22:06:57 +0100 Subject: [PATCH] App requires should be module-relative by default. Fixes #721 --- js/common/bootstrap/modules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/common/bootstrap/modules.js b/js/common/bootstrap/modules.js index 51e3c4ded4..3dffa05fc1 100644 --- a/js/common/bootstrap/modules.js +++ b/js/common/bootstrap/modules.js @@ -1258,7 +1258,7 @@ function require (path) { libpath = fs.join(this._root, this._path, this._manifest[type]); } else { - libpath = fs.join(this._root, this._path, type); + libpath = fs.join(this._root, this._path); } var pkg = new Package("application",