Skip to content

Commit

Permalink
Remove unused functions and jquery dependency (#5868)
Browse files Browse the repository at this point in the history
* remove unused functions and jquery dependency

* rebase and remove more obsolete functions
  • Loading branch information
kristw authored and williaster committed Sep 18, 2018
1 parent 14de28a commit f2d6449
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions superset/assets/src/chart/ChartBody.jsx
@@ -1,6 +1,5 @@
import React from 'react';
import PropTypes from 'prop-types';
import $ from 'jquery';

const propTypes = {
containerId: PropTypes.string.isRequired,
Expand All @@ -11,26 +10,6 @@ const propTypes = {
};

class ChartBody extends React.PureComponent {
html(data) {
this.el.innerHTML = data;
}

css(property, value) {
this.el.style[property] = value;
}

get(n) {
return $(this.el).get(n);
}

find(classname) {
return $(this.el).find(classname);
}

show() {
return $(this.el).show();
}

height() {
return this.props.height();
}
Expand Down

0 comments on commit f2d6449

Please sign in to comment.