mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
[hotfix] fixing the hotfix
This commit is contained in:
parent
0807a8d016
commit
404a94cadb
@ -8,7 +8,6 @@ require('../node_modules/cal-heatmap/cal-heatmap.css');
|
||||
const CalHeatMap = require('cal-heatmap');
|
||||
|
||||
function calHeatmap(slice) {
|
||||
|
||||
const render = function () {
|
||||
const div = d3.select(slice.selector);
|
||||
d3.json(slice.jsonEndpoint(), function (error, json) {
|
||||
|
@ -14,7 +14,6 @@ function directedForceVis(slice) {
|
||||
slice.error(error.responseText, error);
|
||||
return;
|
||||
}
|
||||
console.log(json);
|
||||
const linkLength = json.form_data.link_length || 200;
|
||||
const charge = json.form_data.charge || -500;
|
||||
|
||||
|
@ -7,7 +7,6 @@ require('./sunburst.css');
|
||||
|
||||
// Modified from http://bl.ocks.org/kerryrodden/7090426
|
||||
function sunburstVis(slice) {
|
||||
|
||||
const render = function () {
|
||||
const container = d3.select(slice.selector);
|
||||
// vars with shared scope within this function
|
||||
|
@ -4,7 +4,6 @@ import cloudLayout from 'd3-cloud';
|
||||
import { category21 } from '../javascripts/modules/colors';
|
||||
|
||||
function wordCloudChart(slice) {
|
||||
|
||||
function refresh() {
|
||||
const chart = d3.select(slice.selector);
|
||||
d3.json(slice.jsonEndpoint(), function (error, json) {
|
||||
|
@ -14,13 +14,13 @@ const config = {
|
||||
entry: {
|
||||
'css-theme': APP_DIR + '/javascripts/css-theme.js',
|
||||
common: APP_DIR + '/javascripts/common.js',
|
||||
//dashboard: ['babel-polyfill', APP_DIR + '/javascripts/dashboard/Dashboard.jsx'],
|
||||
//explore: ['babel-polyfill', APP_DIR + '/javascripts/explore/explore.jsx'],
|
||||
dashboard: ['babel-polyfill', APP_DIR + '/javascripts/dashboard/Dashboard.jsx'],
|
||||
explore: ['babel-polyfill', APP_DIR + '/javascripts/explore/explore.jsx'],
|
||||
explorev2: ['babel-polyfill', APP_DIR + '/javascripts/explorev2/index.jsx'],
|
||||
//sqllab: ['babel-polyfill', APP_DIR + '/javascripts/SqlLab/index.jsx'],
|
||||
//standalone: ['babel-polyfill', APP_DIR + '/javascripts/standalone.js'],
|
||||
//welcome: ['babel-polyfill', APP_DIR + '/javascripts/welcome.js'],
|
||||
//profile: ['babel-polyfill', APP_DIR + '/javascripts/profile/index.jsx'],
|
||||
sqllab: ['babel-polyfill', APP_DIR + '/javascripts/SqlLab/index.jsx'],
|
||||
standalone: ['babel-polyfill', APP_DIR + '/javascripts/standalone.js'],
|
||||
welcome: ['babel-polyfill', APP_DIR + '/javascripts/welcome.js'],
|
||||
profile: ['babel-polyfill', APP_DIR + '/javascripts/profile/index.jsx'],
|
||||
},
|
||||
output: {
|
||||
path: BUILD_DIR,
|
||||
|
Loading…
Reference in New Issue
Block a user