update development bundle

This commit is contained in:
Eric Hulburd
2016-02-22 20:02:45 -06:00
parent b8d0a9434b
commit a0cda06672
40 changed files with 356 additions and 92 deletions

View File

@@ -1,5 +1,5 @@
import React from 'react';
import energyRt from './energy.rt.js';
import Templates from 'config/templates';
import House from './../../models/house';
import CalendarGridChart from './../../d3/grid/calendar_grid';
@@ -28,11 +28,6 @@ var Energy = React.createClass({
});
},
componentWillUnmount: function(){
var energy = this;
energy.destroyGraph();
},
componentWillReceiveProps: function(new_props){
var energy = this;
if (new_props.house !== energy.props.house){
@@ -127,6 +122,7 @@ var Energy = React.createClass({
},
render: function() {
var energyRt = Templates.forComponent('energy');
return energyRt.call(this);
}
});