Skip to content

Commit

Permalink
[hotfix] fixing the hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Jan 20, 2017
1 parent 0807a8d commit 404a94c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 10 deletions.
1 change: 0 additions & 1 deletion superset/assets/visualizations/cal_heatmap.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
1 change: 0 additions & 1 deletion superset/assets/visualizations/directed_force.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
1 change: 0 additions & 1 deletion superset/assets/visualizations/sunburst.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion superset/assets/visualizations/word_cloud.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
12 changes: 6 additions & 6 deletions superset/assets/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 404a94c

Please sign in to comment.