2016-11-29 12:54:25 +01:00
|
|
|
/**
|
|
|
|
* GameLib Namespace
|
|
|
|
*/
|
2017-05-10 15:56:27 +02:00
|
|
|
if (typeof GameLib === 'undefined') {
|
2016-10-14 12:32:53 +02:00
|
|
|
function GameLib() {}
|
|
|
|
}
|
|
|
|
|
2016-11-29 12:54:25 +01:00
|
|
|
/**
|
|
|
|
* GameLib.D3 Namespace
|
|
|
|
*/
|
2017-05-10 15:56:27 +02:00
|
|
|
if (typeof GameLib.D3 === 'undefined') {
|
2016-10-14 12:32:53 +02:00
|
|
|
GameLib.D3 = function(){};
|
2016-10-26 16:13:18 +02:00
|
|
|
}
|
|
|
|
|
2016-11-29 12:54:25 +01:00
|
|
|
/**
|
|
|
|
* GameLib.D3.API Namespace
|
|
|
|
* @constructor
|
|
|
|
*/
|
2017-05-10 15:56:27 +02:00
|
|
|
if (typeof GameLib.D3.API === 'undefined') {
|
2016-11-29 12:54:25 +01:00
|
|
|
GameLib.D3.API = function(){};
|
|
|
|
}
|
|
|
|
|
2016-12-15 14:53:39 +01:00
|
|
|
/**
|
|
|
|
* GameLib.API Namespace
|
|
|
|
*/
|
2017-05-10 15:56:27 +02:00
|
|
|
if (typeof GameLib.API === 'undefined') {
|
2016-12-15 14:53:39 +01:00
|
|
|
GameLib.API = function(){};
|
|
|
|
}
|
|
|
|
|
2016-11-29 12:54:25 +01:00
|
|
|
/**
|
|
|
|
* GameLib.D3.Runtime Namespace
|
|
|
|
* @constructor
|
|
|
|
*/
|
2017-05-10 15:56:27 +02:00
|
|
|
if (typeof GameLib.D3.Runtime === 'undefined') {
|
2016-11-29 12:54:25 +01:00
|
|
|
GameLib.D3.Runtime = function(){};
|
|
|
|
}
|
|
|
|
|
2017-05-10 15:56:27 +02:00
|
|
|
if (typeof Q === 'undefined') {
|
2016-11-17 18:31:41 +01:00
|
|
|
|
2017-05-10 15:56:27 +02:00
|
|
|
if (typeof require === 'undefined') {
|
2016-10-26 16:13:18 +02:00
|
|
|
console.warn('You need the Q promise library for the GameLib.D3');
|
|
|
|
throw new Error('You need the Q promise library for the GameLib.D3');
|
|
|
|
}
|
|
|
|
|
|
|
|
var Q = require('q');
|
2016-11-15 13:51:00 +01:00
|
|
|
}
|
|
|
|
|
2017-05-10 15:56:27 +02:00
|
|
|
if (typeof _ === 'undefined') {
|
2016-11-17 18:31:41 +01:00
|
|
|
|
2017-05-10 15:56:27 +02:00
|
|
|
if (typeof require === 'undefined') {
|
2016-11-17 10:24:59 +01:00
|
|
|
console.warn('You need the lodash library for the GameLib.D3');
|
|
|
|
throw new Error('You need the lodash library for the GameLib.D3');
|
2016-11-15 13:51:00 +01:00
|
|
|
}
|
|
|
|
|
2016-11-17 18:31:41 +01:00
|
|
|
var _ = require('lodash');
|
|
|
|
}
|
2016-11-21 14:36:38 +01:00
|
|
|
|
2016-11-29 12:52:48 +01:00
|
|
|
// This gets injected by gulp
|
2017-03-30 17:31:01 +02:00
|
|
|
console.log("Loading GameLib compiled at: " + __DATE__);
|