loading best selling items for sections

This commit is contained in:
Edin Dazdarevic
2015-01-31 13:31:56 +01:00
parent 35cc279527
commit 50a233eae8
8 changed files with 145 additions and 44 deletions

View File

@@ -15,15 +15,22 @@ var SectionActions = {
AppDispatcher.handleAction({
actionType: SectionConstants.SET_SECTION_HOVER,
section: section
})
});
},
unsetSectionHover: function() {
AppDispatcher.handleAction({
actionType: SectionConstants.UNSET_SECTION_HOVER
})
});
},
loadSectionDetails: function(sectionId) {
AppDispatcher.handleAction({
actionType: SectionConstants.LOAD_SECTION_DETAILS,
sectionId: sectionId
});
}
};
module.exports = SectionActions;
module.exports = SectionActions;