mirror of
https://github.com/apache/superset.git
synced 2026-04-10 11:55:24 +00:00
* Change in files * Renamin files and folders * cleaning up a single piece of lint * Removing boat picture from docs * add superset word mark * Update rename note in docs * Fixing images * Pinning datatables * Fixing issues with mapbox-gl * Forgot to rename one file * Linting * v0.13.0 * adding pyyaml to dev-reqs
30 lines
804 B
JavaScript
30 lines
804 B
JavaScript
const $ = window.$ = require('jquery');
|
|
const jQuery = window.jQuery = $; // eslint-disable-line
|
|
require('bootstrap');
|
|
|
|
import React from 'react';
|
|
import { render } from 'react-dom';
|
|
import { initialState, sqlLabReducer } from './reducers';
|
|
import { enhancer } from '../reduxUtils';
|
|
import { createStore, compose, applyMiddleware } from 'redux';
|
|
import { Provider } from 'react-redux';
|
|
import thunkMiddleware from 'redux-thunk';
|
|
|
|
import App from './components/App';
|
|
|
|
|
|
require('./main.css');
|
|
|
|
let store = createStore(
|
|
sqlLabReducer, initialState, compose(applyMiddleware(thunkMiddleware), enhancer()));
|
|
|
|
// jquery hack to highlight the navbar menu
|
|
$('a:contains("SQL Lab")').parent().addClass('active');
|
|
|
|
render(
|
|
<Provider store={store}>
|
|
<App />
|
|
</Provider>,
|
|
document.getElementById('app')
|
|
);
|