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

32 lines
653 B
JavaScript
Raw Normal View History

2015-06-19 16:40:35 +00:00
2016-06-04 07:30:47 +00:00
var Config = {};
2015-06-19 16:40:35 +00:00
Config.Server = {
2016-06-04 07:30:47 +00:00
"hostname": "127.0.0.1",
"port": 16918
};
Config.WebServer = {
"port": 3000
};
2015-06-22 14:30:11 +00:00
2015-07-01 07:17:29 +00:00
Config.Gwent = {
notification_duration: 4000
2016-06-04 07:30:47 +00:00
};
2015-07-01 07:17:29 +00:00
2016-06-04 07:30:47 +00:00
(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;
});