5168
|
1 |
--- |
|
2 |
summary: JSXC demo |
|
3 |
--- |
|
4 |
|
|
5 |
Try out JSXC easily by serving it from Prosodys built-in HTTP server. |
|
6 |
|
|
7 |
# Configuration |
|
8 |
|
|
9 |
mod_jsxc can be set up to either use resources from a separate HTTP |
|
10 |
server or serve resources from Prosody's built-in HTTP server. |
|
11 |
|
|
12 |
## Using CDN |
|
13 |
|
|
14 |
`jsxc_cdn` |
|
15 |
: String. Base URL where JSXC resources are served from. Defaults to |
|
16 |
empty string. |
|
17 |
|
|
18 |
`jsxc_version` |
|
19 |
: String. Concatenated with the CDN URL. Defaults to empty string. |
|
20 |
|
|
21 |
## Local resources |
|
22 |
|
|
23 |
Download a JSXC release archive and unpack it somewhere on your server. |
|
24 |
|
|
25 |
`jsxc_resources` |
|
26 |
: String. Path to JSXC resources on the local file system. The target |
|
27 |
directory should contain a `dist` directory. Disabled by default. |
|
28 |
|
|
29 |
## Other options |
|
30 |
|
|
31 |
`jquery_url` |
|
32 |
: String. URL or relative path to jQuery. Defaults to |
|
33 |
`"/share/jquery/jquery.min.js"` which will work with |
|
34 |
[mod_http_libjs]. |