Removed the nolonger required methods

pull/2110/head
wmwragg 2016-09-04 07:56:32 +01:00
parent 5417385c83
commit cb98e2421e
1 changed files with 0 additions and 11 deletions

View File

@ -61,17 +61,6 @@ module.exports = React.createClass({
document.body.removeChild(this.tooltipContainer);
},
_isDOMElement: function(obj) {
return (obj && typeof obj === "object" && obj instanceof HTMLElement);
},
_isReactComponent: function(obj) {
var ReactComponentPrototype = React.Component.prototype;
var ReactClassComponentPrototype = (Object.getPrototypeOf(Object.getPrototypeOf(new (React.createClass({ render () {} }))())));
return (obj && typeof obj === "object" && (ReactComponentPrototype.isPrototypeOf(obj) || ReactClassComponentPrototype.isPrototypeOf(obj)));
},
_renderTooltip: function() {
var label = this.props.room ? this.props.room.name : this.props.label;
var style = {};