| author | ymh <ymh.work@gmail.com> |
| Fri, 22 Mar 2013 05:30:19 +0100 | |
| changeset 106 | d34e253f5c32 |
| parent 90 | fa7d68b9d8b0 |
| child 109 | b6b20e8c4a1a |
| permissions | -rw-r--r-- |
| 22 | 1 |
// |
2 |
// Config file. Split out from the app for ease of overlaying a new config |
|
3 |
// without affecting the app controller. |
|
4 |
// |
|
5 |
// Copyright (c) The Dojo Foundation 2011. All Rights Reserved. |
|
6 |
// |
|
7 |
var dojoConfig = { |
|
| 58 | 8 |
baseUrl: '/renkan/', |
| 22 | 9 |
async:true, |
10 |
paths : { |
|
11 |
coweb : 'lib/coweb', |
|
12 |
cowebx: 'lib/cowebx', |
|
| 45 | 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 | 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 | 17 |
}, |
| 51 | 18 |
packages:[{ |
| 22 | 19 |
name: 'dojo', |
| 51 | 20 |
location:'static/lib/dojo', |
| 22 | 21 |
main:'main' |
| 54 | 22 |
}], |
| 22 | 23 |
}; |
24 |
||
|
47
267d67791e05
first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
45
diff
changeset
|
25 |
var cowebConfig = { |
|
63
c8ea79397dfe
Add automatic detection of websocket
ymh <ymh.work@gmail.com>
parents:
58
diff
changeset
|
26 |
baseUrl: window.location.protocol + '//' + window.location.host, |
| 58 | 27 |
adminUrl : dojoConfig.baseUrl+'admin', |
| 54 | 28 |
debug: false, |
|
106
d34e253f5c32
Simplify spring integration + correct key for collaborative usage
ymh <ymh.work@gmail.com>
parents:
90
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 |