server/src/main/webapp/static/js/config.js
author ymh <ymh.work@gmail.com>
Sat, 16 Mar 2013 04:36:50 +0100
changeset 90 fa7d68b9d8b0
parent 63 c8ea79397dfe
child 106 d34e253f5c32
permissions -rw-r--r--
Start debug copy force long pooling correct project creation

//
// 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,
};