diff options
-rwxr-xr-x | public-src/index.html.gen | 2 | ||||
-rw-r--r-- | 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 '<!DOCTYPE html> <!-- Scripts: Modules (run asynchronously after DOMContentLoaded) --> <script src="./require.config.js"></script> - <script src="./3rd-party/yarn/requirejs/require.js" data-main="main"></script> + <script src="./3rd-party/yarn/requirejs/require.js" data-main="/main.js"></script> <!-- CSS --> <link rel="stylesheet" href="style.css"> 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", }, }; |