server/src/main/webapp/static/js/config.js
author ymh <ymh.work@gmail.com>
Thu, 14 Feb 2013 01:20:14 +0100
changeset 58 87569ad0ff53
parent 56 a9b9e6c7be63
child 63 c8ea79397dfe
permissions -rw-r--r--
- update libraries - activate websocket - copy resources form client - correct image static location (from static_url)
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 = {
58
87569ad0ff53 - update libraries
ymh <ymh.work@gmail.com>
parents: 56
diff changeset
     8
	baseUrl: '/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
	}],	
22
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
    23
};
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
    24
47
267d67791e05 first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents: 45
diff changeset
    25
var cowebConfig = {
54
43c35d6ca3f0 change initialization order.
ymh <ymh.work@gmail.com>
parents: 51
diff changeset
    26
    baseUrl: window.location.protocol + '//' +window.location.host,
58
87569ad0ff53 - update libraries
ymh <ymh.work@gmail.com>
parents: 56
diff changeset
    27
	adminUrl : dojoConfig.baseUrl+'admin',
54
43c35d6ca3f0 change initialization order.
ymh <ymh.work@gmail.com>
parents: 51
diff changeset
    28
	debug: false,
58
87569ad0ff53 - update libraries
ymh <ymh.work@gmail.com>
parents: 56
diff changeset
    29
	useWebSockets: true
47
267d67791e05 first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents: 45
diff changeset
    30
};
267d67791e05 first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents: 45
diff changeset
    31