mirror of
https://github.com/gnh1201/welsonjs.git
synced 2024-11-26 23:41:42 +00:00
9 lines
307 B
JavaScript
9 lines
307 B
JavaScript
////////////////////////////////////////////////////////////////////////
|
|
// Config API
|
|
////////////////////////////////////////////////////////////////////////
|
|
var XML = require("lib/xml");
|
|
|
|
exports.getValue = function(key) {
|
|
return XML.load("config.xml").select("/Config/" + key).first().getText();
|
|
};
|