From baabae31641810dab6730763e0076816a17a9737 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Fri, 20 Jan 2017 06:16:55 +0300 Subject: [PATCH] seem to have fixed the cli... Signed-off-by: Alex A. Naanou --- ui (gen4)/ig.js | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/ui (gen4)/ig.js b/ui (gen4)/ig.js index 2dd479d4..8707927d 100644 --- a/ui (gen4)/ig.js +++ b/ui (gen4)/ig.js @@ -16,13 +16,23 @@ requirejs.config({ // XXX this does not work on direct filesystem access... //urlArgs: 'bust='+Date.now(), - /* paths: { - 'lib/object': 'node_modules/ig-object', - 'ig-object': 'node_modules/ig-object', - 'object': 'node_modules/ig-object', + 'lib/object': 'node_modules/ig-object/object', + 'lib/actions': 'node_modules/ig-actions/actions', + 'lib/features': 'node_modules/ig-features/features', }, - //*/ + map: { + '*': { + // back-refs + // ...these enable the npm modules reference each other in + // a cross-platform manner.... + 'ig-object': 'lib/object', + 'ig-actions': 'lib/actions', + 'ig-features': 'lib/features', + + //'ig-keyboard': 'lib/keyboard', + }, + }, }) var _require = require require = requirejs