server/src/main/webapp/static/js/config.js
author ymh <ymh.work@gmail.com>
Mon, 14 Jan 2013 16:00:07 +0100
changeset 51 3247fccfbd3f
parent 48 01fb9167ad75
child 52 e0f6f3c31150
child 54 43c35d6ca3f0
permissions -rw-r--r--
update on renkan
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 = {
948283342245 Session moderator + test in model
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
	baseUrl: '/renkan',
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'
51
3247fccfbd3f update on renkan
ymh <ymh.work@gmail.com>
parents: 48
diff changeset
    22
	}]
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 = {
48
01fb9167ad75 Correct bug on insert, delete move objects
ymh <ymh.work@gmail.com>
parents: 47
diff changeset
    36
		baseUrl: window.location.protocol + '//' +window.location.host,
01fb9167ad75 Correct bug on insert, delete move objects
ymh <ymh.work@gmail.com>
parents: 47
diff changeset
    37
	    adminUrl : '/renkan/admin',
01fb9167ad75 Correct bug on insert, delete move objects
ymh <ymh.work@gmail.com>
parents: 47
diff changeset
    38
	    debug: false,
01fb9167ad75 Correct bug on insert, delete move objects
ymh <ymh.work@gmail.com>
parents: 47
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
267d67791e05 first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents: 45
diff changeset
    42