all files / util/ substanceGlobals.js

100% Statements 2/2
50% Branches 2/4
100% Functions 0/0
100% Lines 2/2
1 2 3 4 5 6 7 8 9             
/**
  A place to store global variables.
*/
const _global = (typeof global !== 'undefined') ? global : window
const substanceGlobals = _global.hasOwnProperty('Substance') ? _global.Substance : _global.Substance = {
  DEBUG_RENDERING: true
}
export default substanceGlobals