quitting react router

This commit is contained in:
Eric Hulburd
2016-03-02 12:07:31 -06:00
parent d650baab6d
commit 5b218f6518
17 changed files with 164 additions and 186 deletions

View File

@@ -133,9 +133,9 @@ class House {
return params.month == house.state.month && params.year == house.state.year;
}
matchesPowerRange(dates){
matchesPowerRange(params, dates){
var house = this;
return house.state.power_range[0] == dates[0] && house.state.power_range[1] == dates[1];
return house.matchesMonthState(params) && house.state.power_range[0] == dates[0] && house.state.power_range[1] == dates[1];
}
offset_diff(unix){