Skip to content

Commit

Permalink
Remove unused functions and jquery dependency (apache#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 betodealmeida committed Oct 12, 2018
1 parent e269288 commit 5f19364
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions superset/assets/src/chart/ChartBody.jsx
Original file line number Diff line number Diff line change
@@ -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 5f19364

Please sign in to comment.