rx-player
Version:
Canal+ HTML5 Video Player
13 lines (12 loc) • 424 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = isDebugModeEnabled;
/**
* Some external tools set that boolean, in which case, we should enable DEBUG
* logs and various tricks to make as much logs as available to those tools.
*
* @returns {boolean}
*/
function isDebugModeEnabled() {
return typeof __RX_PLAYER_DEBUG_MODE__ === "boolean" && __RX_PLAYER_DEBUG_MODE__;
}