server/src/main/webapp/static/js/config.js
author ymh <ymh.work@gmail.com>
Mon, 18 Mar 2013 11:45:30 +0100
changeset 101 4367d1f5eb4c
parent 90 fa7d68b9d8b0
child 106 d34e253f5c32
permissions -rw-r--r--
Add log

//
// 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',
	   rcolor: 'static/lib/rcolor',
	   underscore: 'static/lib/underscore-min',
	},
	packages:[{
		name: 'dojo',
		location:'static/lib/dojo',
		main:'main'
	}],	
};

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