kopia lustrzana https://github.com/OpenDroneMap/WebODM
23 wiersze
585 B
JavaScript
23 wiersze
585 B
JavaScript
import '../css/main.scss';
|
|
import './django/csrf';
|
|
import ReactDOM from 'react-dom';
|
|
import React from 'react';
|
|
import $ from 'jquery';
|
|
import PluginsAPI from './classes/plugins/API';
|
|
import { setLocale } from './translations/functions';
|
|
|
|
// Main is always executed first in the page
|
|
|
|
// We share some objects to avoid having to include them
|
|
// as a dependency in each component (adds too much space overhead)
|
|
window.ReactDOM = ReactDOM;
|
|
window.React = React;
|
|
|
|
// Expose set locale function globally
|
|
window.setLocale = setLocale;
|
|
|
|
$(function(){
|
|
PluginsAPI.App.triggerReady();
|
|
});
|
|
|