mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
Bumping the JS libs to fix the build (#2616)
* bumping the js libs * New linting rules * More linting * More * Done linting * npm >=4.5.0 * Bumping node * Tweaking the build * Fixing the damn build * Fixing the apps
This commit is contained in:
committed by
GitHub
parent
a2b30f35fc
commit
366ecefbaa
@@ -1,12 +1,12 @@
|
||||
import $ from 'jquery';
|
||||
const utils = require('./utils');
|
||||
// vis sources
|
||||
/* eslint camel-case: 0 */
|
||||
import $ from 'jquery';
|
||||
import Mustache from 'mustache';
|
||||
import vizMap from '../../visualizations/main.js';
|
||||
import vizMap from '../../visualizations/main';
|
||||
import { getExploreUrl } from '../explorev2/exploreUtils';
|
||||
import { applyDefaultFormData } from '../explorev2/stores/store';
|
||||
|
||||
const utils = require('./utils');
|
||||
|
||||
/* eslint wrap-iife: 0*/
|
||||
const px = function () {
|
||||
let slice;
|
||||
@@ -217,14 +217,14 @@ const px = function () {
|
||||
timer = setInterval(stopwatch, 10);
|
||||
$('#timer').removeClass('label-danger label-success');
|
||||
$('#timer').addClass('label-warning');
|
||||
$.getJSON(this.jsonEndpoint(), queryResponse => {
|
||||
$.getJSON(this.jsonEndpoint(), (queryResponse) => {
|
||||
try {
|
||||
vizMap[formData.viz_type](this, queryResponse);
|
||||
this.done(queryResponse);
|
||||
} catch (e) {
|
||||
this.error('An error occurred while rendering the visualization: ' + e);
|
||||
}
|
||||
}).fail(err => {
|
||||
}).fail((err) => {
|
||||
this.error(err.responseText, err);
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user