Files
pathfinder/js/app/ccp.js
2015-01-23 18:01:03 +01:00

25 lines
416 B
JavaScript

/**
* Global CCPEvE function wrapper
*/
define(['jquery'], function($) {
"use strict";
/**
* in-game or out-of-game browser
* @returns {boolean}
*/
var isInGameBrowser = function(){
var inGame = false;
if(typeof CCPEVE === 'object'){
inGame = true;
}
return inGame;
};
return {
isInGameBrowser: isInGameBrowser
};
});