Этот коммит содержится в:
Joram Wilander
2016-08-30 18:56:02 -04:00
коммит произвёл enahum
родитель 58242905d6
Коммит 60a0db7f6a

Просмотреть файл

@@ -7,6 +7,7 @@ require('perfect-scrollbar/jquery')($);
import React from 'react'; import React from 'react';
import ReactDOM from 'react-dom'; import ReactDOM from 'react-dom';
import {Router, browserHistory} from 'react-router/es6'; import {Router, browserHistory} from 'react-router/es6';
import PDFJS from 'pdfjs-dist';
import * as GlobalActions from 'actions/global_actions.jsx'; import * as GlobalActions from 'actions/global_actions.jsx';
import * as Websockets from 'actions/websocket_actions.jsx'; import * as Websockets from 'actions/websocket_actions.jsx';
import BrowserStore from 'stores/browser_store.jsx'; import BrowserStore from 'stores/browser_store.jsx';
@@ -21,6 +22,8 @@ import 'katex/dist/katex.min.css';
// Import the root of our routing tree // Import the root of our routing tree
import rRoot from 'routes/route_root.jsx'; import rRoot from 'routes/route_root.jsx';
PDFJS.disableWorker = true;
// This is for anything that needs to be done for ALL react components. // This is for anything that needs to be done for ALL react components.
// This runs before we start to render anything. // This runs before we start to render anything.
function preRenderSetup(callwhendone) { function preRenderSetup(callwhendone) {