Difference between revisions of "Ccil-ui-js"

From CCIL
Jump to: navigation, search
m
m (ccil-config.js)
Line 42: Line 42:
 
== ccil-config.js ==
 
== ccil-config.js ==
  
The ''ccil-config.js'' file defines default values for some of the fields of the CCIL.config
+
The ''ccil-config.js'' file defines default values for some of the fields of the ''CCIL.config'' object. It is intended to be easily replaced (updated) by the build process.
 +
 
 +
<pre>
 +
/**
 +
* CCIL client setup. This file should be modified in the various distributions.
 +
*/
 +
 
 +
CCIL.config = new Object();
 +
CCIL.config.responseTime = 3000;
 +
CCIL.config.inode = "services_0";
 +
CCIL.config.srvacc = "services_0";
 +
</pre>
  
 
TBA
 
TBA

Revision as of 18:29, 4 June 2016

Location: /ui/js

The ccil-ui-js component brings the /ccil/js/ccil.js and /ccil/js/ccil-config.js scripts.

ccil.js

This is the root JavaScript file. It should be included prior all others.

Objects

The CCIL obect

TBA

CCIL.config

TBA

CCIL.app

TBA

CCIL.log

TBA

CCIL.utils

TBA

Prototypes

String.endsWith

TBA

String.replaceAll

TBA

ccil-config.js

The ccil-config.js file defines default values for some of the fields of the CCIL.config object. It is intended to be easily replaced (updated) by the build process.

/**
 * CCIL client setup. This file should be modified in the various distributions.
 */

CCIL.config = new Object();
CCIL.config.responseTime = 3000;
CCIL.config.inode = "services_0";
CCIL.config.srvacc = "services_0";

TBA