server/src/main/webapp/static/js/config.js
author veltr
Mon, 11 Feb 2013 18:08:19 +0100
changeset 56 a9b9e6c7be63
parent 55 17ff0be41a5b
child 58 87569ad0ff53
permissions -rw-r--r--
Converging client and webapp

//
// 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: '/', /* WAS /renkan */
	async:true,
	paths : {
	   coweb : 'lib/coweb',
	   cowebx: 'lib/cowebx',
	   org : 'lib/org',
	   corenkan: 'static/js/corenkan',
	   rcolor: 'static/lib/rcolor',
	   underscore: 'static/lib/underscore-min',
	},
	packages:[{
		name: 'dojo',
		location:'static/lib/dojo',
		main:'main'
	}],	
	/*{
		name: 'dijit',
		location:'lib/dijit',
		main:'main'
	},
	{
		name: 'dojox',
		location:'lib/dojox',
		main:'main'
	}]*/
};

var cowebConfig = {
    baseUrl: window.location.protocol + '//' +window.location.host,
	adminUrl : '/admin',
	debug: false,
	//useWebSockets: true
};