Skip to content

Commit

Permalink
Fix script paths and extra parenthesis.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmartel committed Mar 27, 2018
1 parent 673bae6 commit c91ac6d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions resources/scripts/dwv-jqmobile.lua
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ print([[
]])

print([[
<link type="text/css" rel="stylesheet" href="/dwv/css/style.css">
<link type="text/css" rel="stylesheet" href="/dwv-jqmobile/css/style.css">
<link type="text/css" rel="stylesheet" href="/dwv-jqmobile/ext/jquery-mobile/jquery.mobile-1.4.5.min.css" />
<link type="text/css" rel="stylesheet" href="/dwv-jqmobile/node_modules/nprogress/nprogress.css" />
<style type="text/css" >
Expand Down Expand Up @@ -157,9 +157,9 @@ function startApp() {
"filters": ["Threshold", "Sharpen", "Sobel"],
"shapes": ["Arrow", "Ruler", "Protractor", "Rectangle", "Roi", "Ellipse", "FreeHand"],
"isMobile": true,
"helpResourcesPath": "resources/help",
"helpResourcesPath": "/dwv-jqmobile/resources/help",
"skipLoadUrl": true
});
};
if ( dwv.browser.hasInputDirectory() ) {
options.loaders.splice(1, 0, "Folder");
}
Expand Down Expand Up @@ -220,7 +220,7 @@ print([[
// check browser support
dwv.browser.check();
// initialise i18n
dwv.i18nInitialise("auto", "node_modules/dwv");
dwv.i18nInitialise("auto", "/dwv-jqmobile/node_modules/dwv");
// DOM ready?
$(document).ready( function() {
domContentLoaded = true;
Expand Down

0 comments on commit c91ac6d

Please sign in to comment.