From b4b52cf59f8acb0fe8c3f35bb360b6c136240151 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 19 Mar 2018 18:11:58 -0400 Subject: disable requirejs fallback urls; make us configure all paths --- public-src/index.html.gen | 2 +- public-src/require.config.js | 18 ++++++++++-------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/public-src/index.html.gen b/public-src/index.html.gen index dfb2e34..2930594 100755 --- a/public-src/index.html.gen +++ b/public-src/index.html.gen @@ -20,7 +20,7 @@ echo ' - + diff --git a/public-src/require.config.js b/public-src/require.config.js index bb48fd7..3e2ff4b 100644 --- a/public-src/require.config.js +++ b/public-src/require.config.js @@ -1,5 +1,5 @@ var require = { - baseUrl: "/", + baseUrl: "/bogus", shim: { "jarmon": { deps: [ @@ -27,13 +27,15 @@ var require = { "cfg/jarmon-proton": { deps: ["jquery", "jarmon"] }, }, paths: { - //"jquery" : "3rd-party/yarn/jquery/dist/jquery", - //"flot" : "3rd-party/yarn/flot", - "requirejs" : "3rd-party/yarn/requirejs/require", + //"flot" : "/3rd-party/yarn/flot", + //"jquery" : "/3rd-party/yarn/jquery/dist/jquery", + "requirejs" : "/3rd-party/yarn/requirejs/require", - "flot" : "jarmon-dependencies/flot-0.8.3", - "javascriptrrd" : "jarmon-dependencies/javascriptrrd-1.1.1", - "jquery" : "jarmon-dependencies/jquery-1.6.3", - "jquerytools" : "jarmon-dependencies/jquerytools-8ac4636a01d3860f1c4726ba722190a531bf1068", + "cfg" : "/cfg", + "jarmon" : "/jarmon", + "flot" : "/jarmon-dependencies/flot-0.8.3", + "javascriptrrd" : "/jarmon-dependencies/javascriptrrd-1.1.1", + "jquery" : "/jarmon-dependencies/jquery-1.6.3", + "jquerytools" : "/jarmon-dependencies/jquerytools-8ac4636a01d3860f1c4726ba722190a531bf1068", }, }; -- cgit v1.2.3-2-g168b