server/src/main/webapp/static/js/config.js
changeset 47 267d67791e05
parent 45 37c9a17c3284
child 48 01fb9167ad75
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/server/src/main/webapp/static/js/config.js	Tue Dec 25 21:29:11 2012 +0100
@@ -0,0 +1,38 @@
+//
+// Config file. Split out from the app for ease of overlaying a new config
+// without affecting the app controller.
+//
+// Copyright (c) The Dojo Foundation 2011. All Rights Reserved.
+//
+var dojoConfig = {
+	baseUrl: '/renkan',
+	async:true,
+	paths : {
+	   coweb : 'lib/coweb',
+	   cowebx: 'lib/cowebx',
+	   org : 'lib/org',
+	   corenkan: 'static/js/corenkan',
+	   underscore: 'static/lib/underscore-min',
+	},
+	/*packages:[{
+		name: 'dojo',
+		location:'lib/dojo',
+		main:'main'
+	},
+	{
+		name: 'dijit',
+		location:'lib/dijit',
+		main:'main'
+	},
+	{
+		name: 'dojox',
+		location:'lib/dojox',
+		main:'main'
+	}]*/
+};
+
+var cowebConfig = {
+	    adminUrl : '/renkan/admin'
+};
+
+