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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
22
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
//
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
// Config file. Split out from the app for ease of overlaying a new config
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
// without affecting the app controller.
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
//
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
// Copyright (c) The Dojo Foundation 2011. All Rights Reserved.
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
//
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
var dojoConfig = {
52
e0f6f3c31150 Added colors !
veltr
parents: 51
diff changeset
     8
	baseUrl: '/', /* WAS /renkan */
22
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
	async:true,
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
	paths : {
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
	   coweb : 'lib/coweb',
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
    12
	   cowebx: 'lib/cowebx',
45
37c9a17c3284 - add Spring
ymh <ymh.work@gmail.com>
parents: 22
diff changeset
    13
	   org : 'lib/org',
47
267d67791e05 first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents: 45
diff changeset
    14
	   corenkan: 'static/js/corenkan',
51
3247fccfbd3f update on renkan
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    15
	   rcolor: 'static/lib/rcolor',
47
267d67791e05 first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents: 45
diff changeset
    16
	   underscore: 'static/lib/underscore-min',
22
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
    17
	},
51
3247fccfbd3f update on renkan
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    18
	packages:[{
22
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
    19
		name: 'dojo',
51
3247fccfbd3f update on renkan
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    20
		location:'static/lib/dojo',
22
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
    21
		main:'main'
54
43c35d6ca3f0 change initialization order.
ymh <ymh.work@gmail.com>
parents: 51
diff changeset
    22
	}],	
51
3247fccfbd3f update on renkan
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    23
	/*{
22
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
    24
		name: 'dijit',
45
37c9a17c3284 - add Spring
ymh <ymh.work@gmail.com>
parents: 22
diff changeset
    25
		location:'lib/dijit',
22
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
    26
		main:'main'
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
    27
	},
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
    28
	{
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
    29
		name: 'dojox',
45
37c9a17c3284 - add Spring
ymh <ymh.work@gmail.com>
parents: 22
diff changeset
    30
		location:'lib/dojox',
22
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
    31
		main:'main'
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
    32
	}]*/
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
    33
};
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
    34
47
267d67791e05 first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents: 45
diff changeset
    35
var cowebConfig = {
54
43c35d6ca3f0 change initialization order.
ymh <ymh.work@gmail.com>
parents: 51
diff changeset
    36
    baseUrl: window.location.protocol + '//' +window.location.host,
56
a9b9e6c7be63 Converging client and webapp
veltr
parents: 55
diff changeset
    37
	adminUrl : '/admin',
54
43c35d6ca3f0 change initialization order.
ymh <ymh.work@gmail.com>
parents: 51
diff changeset
    38
	debug: false,
43c35d6ca3f0 change initialization order.
ymh <ymh.work@gmail.com>
parents: 51
diff changeset
    39
	//useWebSockets: true
47
267d67791e05 first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents: 45
diff changeset
    40
};
267d67791e05 first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents: 45
diff changeset
    41