summaryrefslogtreecommitdiffstats
path: root/web/client.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'web/client.xhtml')
-rw-r--r--web/client.xhtml19
1 files changed, 18 insertions, 1 deletions
diff --git a/web/client.xhtml b/web/client.xhtml
index dbdf4c4..99fc58a 100644
--- a/web/client.xhtml
+++ b/web/client.xhtml
@@ -9,7 +9,24 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="client.css"/>
- <script type="text/javascript" data-main="client.js" src="lib/require.js"/>
+ <script type="text/javascript" src="lib/require.js"/>
+ <script type="text/javascript">
+ require.config({
+ baseUrl: "lib",
+ paths: {aconf: ".."},
+ shim: {
+ underscore: {exports: "_"},
+ "jquery-bbq": {deps: ["jquery"]},
+ "jquery-blockui": {deps: ["jquery"]},
+ "jquery-ui/core": {deps: ["jquery"]},
+ "jquery-ui/datepicker": {deps: ["jquery-ui/core"]},
+ "jquery-ui/mouse": {deps: ["jquery-ui/widget"]},
+ "jquery-ui/sortable": {deps: ["jquery-ui/core", "jquery-ui/mouse"]},
+ "jquery-ui/widget": {deps: ["jquery"]}
+ }
+ });
+ require(["aconf/client"], function(client) { client(); });
+ </script>
</head>
<body>
<div id="status">