/**
 * Detect platform-specific things.
 */


goog.provide('onfire.utils.detection');


/**
 * @type {boolean}
 */
onfire.utils.detection.IS_NODEJS = (typeof module !== 'undefined' && !!module.exports);

/**
 * Detect platform-specific things.
 */


goog.provide('onfire.utils.detection');


/**
 * @type {boolean}
 */
onfire.utils.detection.IS_NODEJS =
    (typeof module !== 'undefined' && module !== this.module && !!module.exports);

Add additional test for Node environment
Add additional test for Node environment

module !== this.module in Node, but this can be true in a browser
