server/src/main/webapp/static/js/config.js
author ymh <ymh.work@gmail.com>
Mon, 31 Dec 2012 12:19:10 +0100
changeset 48 01fb9167ad75
parent 47 267d67791e05
child 51 3247fccfbd3f
permissions -rw-r--r--
Correct bug on insert, delete move objects

//
// 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 = {
		baseUrl: window.location.protocol + '//' +window.location.host,
	    adminUrl : '/renkan/admin',
	    debug: false,
	    //useWebSockets: true
};