Commit 9b0d6369 authored by Bas Lijnse's avatar Bas Lijnse

Added building and compression of the client javascript to improve loading performance

git-svn-id: https://svn.cs.ru.nl/repos/iTask-system/trunk@694 63da3aa8-80fd-4f01-9db8-e6ea747a3da2
parent 624f402c
java -jar JSBuilder2.jar --projectFile .\build.jsb2 --homeDir .
\ No newline at end of file
{ "projectName" : "iTasks Client"
, "deployDir" : "build"
, "licenseText" : ""
, "pkgs" : [{
"name" : "itasks-all"
,"file" : "itasks-all.js"
,"isDebug" : false
,"fileIncludes" :
[{"text":"itasks.util.js","path":"js/"}
,{"text":"itasks.form.js","path":"js/"}
,{"text":"itasks.LoginWindow.js","path":"js/"}
,{"text":"itasks.LoaderWindow.js","path":"js/"}
,{"text":"itasks.RemoteDataPanel.js","path":"js/"}
,{"text":"itasks.NewWorkPanel.js","path":"js/"}
,{"text":"itasks.DebugPanel.js","path":"js/"}
,{"text":"itasks.WorkListPanel.js","path":"js/"}
,{"text":"itasks.HomeTabPanel.js","path":"js/"}
,{"text":"itasks.TaskForestTabPanel.js","path":"js/"}
,{"text":"itasks.ProcessTableTabPanel.js","path":"js/"}
,{"text":"itasks.WorkTabPanel.js","path":"js/"}
,{"text":"itasks.WorkTabsPanel.js","path":"js/"}
,{"text":"itasks.ApplicationPanel.js","path":"js/"}
,{"text":"itasks.Application.js","path":"js/"}
,{"text":"itasks.GMapPanel.js","path":"js/"}
,{"text":"itasks.GStaticMapPanel.js","path":"js/"}
,{"text":"itasks.js","path":"js/"}]
,"pkgDeps" : []
,"includeDeps" : false
}]
, "resources" :[]
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
......@@ -15,36 +15,16 @@
<!-- import the Google Maps API V3 -->
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<!-- import the Extended Javascript Framework -->
<!-- import the ExtJS Javascript Framework -->
<script type="text/javascript" src="ext3/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="ext3/ext-all-debug.js"></script>
<script type="text/javascript" src="ext3/ext-all.js"></script>
<!-- import javascript for column tree extension -->
<script type="text/javascript" src="js/Ext.ux.tree.ColumnTree.js"></script>
<script type="text/javascript" src="js/Ext.ux.tree.ColumnNodeUI.js"></script>
<!-- import the various iTasks Extensions -->
<script type="text/javascript" src="js/itasks.util.js"></script>
<script type="text/javascript" src="js/itasks.form.js"></script>
<script type="text/javascript" src="js/itasks.LoginWindow.js"></script>
<script type="text/javascript" src="js/itasks.LoaderWindow.js"></script>
<script type="text/javascript" src="js/itasks.RemoteDataPanel.js"></script>
<script type="text/javascript" src="js/itasks.NewWorkPanel.js"></script>
<script type="text/javascript" src="js/itasks.DebugPanel.js"></script>
<script type="text/javascript" src="js/itasks.WorkListPanel.js"></script>
<script type="text/javascript" src="js/itasks.HomeTabPanel.js"></script>
<script type="text/javascript" src="js/itasks.TaskForestTabPanel.js"></script>
<script type="text/javascript" src="js/itasks.ProcessTableTabPanel.js"></script>
<script type="text/javascript" src="js/itasks.WorkTabPanel.js"></script>
<script type="text/javascript" src="js/itasks.WorkTabsPanel.js"></script>
<script type="text/javascript" src="js/itasks.ApplicationPanel.js"></script>
<script type="text/javascript" src="js/itasks.Application.js"></script>
<script type="text/javascript" src="js/itasks.GMapPanel.js"></script>
<script type="text/javascript" src="js/itasks.GStaticMapPanel.js"></script>
<script type="text/javascript" src="js/itasks.js"></script>
<!-- import the iTasks Client code -->
<script type="text/javascript" src="build/itasks-all.js"></script>
</head>
<body>
</body>
......
Ext.ns('itasks.util');
Ext.ns("itasks.util");
itasks.util.formatDate = function(ts) {
if (ts == null)
......@@ -8,13 +8,13 @@ itasks.util.formatDate = function(ts) {
}
itasks.util.formatStartDate = function (ts) {
if (ts == null)
return "Not started yet"
return "Not started yet";
else
return Date.parseDate(ts, "U").format("d M Y H:i");
}
itasks.util.formatDeadline = function(ts) {
if(ts == null)
return "No deadline"
return "No deadline";
else
return Date.parseDate(ts, "U").format("d M Y H:i");
}
......@@ -39,4 +39,4 @@ itasks.util.formatProgress = function(progress) {
}
itasks.util.coloredLabel = function (color, msg) {
return "<span style=\"color: " + color + "; font-weight: bold;\">" + msg + "</span>";
}
\ No newline at end of file
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment