diff --git a/js/main.js b/js/main.js index 8ff6853a8..d39fc84a5 100644 --- a/js/main.js +++ b/js/main.js @@ -1,11 +1,17 @@ import React from 'react'; import ReactDOM from 'react-dom'; import lbry from './lbry.js'; +import lighthouse from './lighthouse.js'; import App from './app.js'; import SplashScreen from './component/splash.js'; var init = function() { + if (lbry.getClientSetting('debug')) { + window.lbry = lbry; + window.lighthouse = lighthouse; + } + var canvas = document.getElementById('canvas'); ReactDOM.render(