From 98bcdce33df46f4e0e7e1cf2e1e9367d19e0698d Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Tue, 25 Oct 2016 18:25:56 +0300 Subject: [PATCH] added fallback paths... Signed-off-by: Alex A. Naanou --- ui.js | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/ui.js b/ui.js index a37ec9c..ca1781e 100755 --- a/ui.js +++ b/ui.js @@ -9,9 +9,18 @@ var requirejs_cfg = { // XXX one approach to avoid at least this section is to copy the // modules to lib/*, this way we'll need the map section below // only... (without automation this also sounds bad) - 'lib/object': './node_modules/ig-object/object', - 'lib/actions': './node_modules/ig-actions/actions', - 'lib/features': './node_modules/ig-features/features', + 'lib/object': [ + './node_modules/ig-object/object', + './lib/object', + ], + 'lib/actions': [ + './node_modules/ig-actions/actions', + './lib/actions', + ], + 'lib/features': [ + './node_modules/ig-features/features', + './lib/features', + ], //'lib/keyboard': './node_modules/ig-keyboard/keyboard', },