1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-11-23 19:36:53 +00:00
not-gwent-online/public/Config.js
2016-06-04 10:08:42 +02:00

32 lines
653 B
JavaScript

var Config = {};
Config.Server = {
"hostname": "127.0.0.1",
"port": 16918
};
Config.WebServer = {
"port": 3000
};
Config.Gwent = {
notification_duration: 4000
};
(function (name, definition){
if (typeof define === 'function'){ // AMD
define(definition);
} else if (typeof module !== 'undefined' && module.exports) { // Node.js
module.exports = definition();
} else { // Browser
var theModule = definition(), global = this, old = global[name];
theModule.noConflict = function () {
global[name] = old;
return theModule;
};
global[name] = theModule;
}
})('Config', function () {
return Config;
});