Skip to content

Commit 404a94c

Browse files
committedJan 20, 2017
[hotfix] fixing the hotfix
1 parent 0807a8d commit 404a94c

File tree

5 files changed

+6
-10
lines changed

5 files changed

+6
-10
lines changed
 

‎superset/assets/visualizations/cal_heatmap.js

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ require('../node_modules/cal-heatmap/cal-heatmap.css');
88
const CalHeatMap = require('cal-heatmap');
99

1010
function calHeatmap(slice) {
11-
1211
const render = function () {
1312
const div = d3.select(slice.selector);
1413
d3.json(slice.jsonEndpoint(), function (error, json) {

‎superset/assets/visualizations/directed_force.js

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ function directedForceVis(slice) {
1414
slice.error(error.responseText, error);
1515
return;
1616
}
17-
console.log(json);
1817
const linkLength = json.form_data.link_length || 200;
1918
const charge = json.form_data.charge || -500;
2019

‎superset/assets/visualizations/sunburst.js

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ require('./sunburst.css');
77

88
// Modified from http://bl.ocks.org/kerryrodden/7090426
99
function sunburstVis(slice) {
10-
1110
const render = function () {
1211
const container = d3.select(slice.selector);
1312
// vars with shared scope within this function

‎superset/assets/visualizations/word_cloud.js

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import cloudLayout from 'd3-cloud';
44
import { category21 } from '../javascripts/modules/colors';
55

66
function wordCloudChart(slice) {
7-
87
function refresh() {
98
const chart = d3.select(slice.selector);
109
d3.json(slice.jsonEndpoint(), function (error, json) {

‎superset/assets/webpack.config.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ const config = {
1414
entry: {
1515
'css-theme': APP_DIR + '/javascripts/css-theme.js',
1616
common: APP_DIR + '/javascripts/common.js',
17-
//dashboard: ['babel-polyfill', APP_DIR + '/javascripts/dashboard/Dashboard.jsx'],
18-
//explore: ['babel-polyfill', APP_DIR + '/javascripts/explore/explore.jsx'],
17+
dashboard: ['babel-polyfill', APP_DIR + '/javascripts/dashboard/Dashboard.jsx'],
18+
explore: ['babel-polyfill', APP_DIR + '/javascripts/explore/explore.jsx'],
1919
explorev2: ['babel-polyfill', APP_DIR + '/javascripts/explorev2/index.jsx'],
20-
//sqllab: ['babel-polyfill', APP_DIR + '/javascripts/SqlLab/index.jsx'],
21-
//standalone: ['babel-polyfill', APP_DIR + '/javascripts/standalone.js'],
22-
//welcome: ['babel-polyfill', APP_DIR + '/javascripts/welcome.js'],
23-
//profile: ['babel-polyfill', APP_DIR + '/javascripts/profile/index.jsx'],
20+
sqllab: ['babel-polyfill', APP_DIR + '/javascripts/SqlLab/index.jsx'],
21+
standalone: ['babel-polyfill', APP_DIR + '/javascripts/standalone.js'],
22+
welcome: ['babel-polyfill', APP_DIR + '/javascripts/welcome.js'],
23+
profile: ['babel-polyfill', APP_DIR + '/javascripts/profile/index.jsx'],
2424
},
2525
output: {
2626
path: BUILD_DIR,

0 commit comments

Comments
 (0)
Please sign in to comment.