Config.js allows developers to configure their applications in an XML block instead of hard-coding values inside their scripts. It can also be used to store HTML templates instead of hardcoding HTML into JavaScript. The XML can be embedded inside an HTML document or in a separate XML file. The configuration block may contain strings, numbers, ar…
JavaScript HTML CSS
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
images/icons
js
xml
.gitignore
README.txt
bower.json
confirm.html
creditCardForm.html
creditCardFormOutsideConfig.html
example.html
test.xml

README.txt

Config.js - a JavaScript cofiguration library

Config.js allows developers to configure their applications in an XML block
instead of hard-coding values inside their scripts or in JSON objects.  The
XML can be embedded inside an HTML document or in a separate XML file.  The
configuration block may contain strings, numbers, arrays and HTML.
Furthermore, variables can be inserted into these values, allowing
developers to use the XML block as a simple templating system for their
applications.

More information is available at:

http://www.useragentman.com/blog/config-js-%E2%80%93-a-javascript-cofiguration-library/