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

@@ -8,15 +8,21 @@ var ItemActions = {
loadFrontPageItems: function() {
AppDispatcher.handleAction({
actionType: ItemConstants.LOAD_FOR_FRONTPAGE
})
});
},
loadItemWithDetails: function() {
AppDispatcher.handleAction({
actionType: ItemConstants.LOAD_ITEM_WITH_DETAILS,
})
}
});
},
loadBestSellingItemsForSection: function(sectionId) {
AppDispatcher.handleAction({
actionType : ItemConstants.LOAD_BSI_FOR_SECTION,
sectionId: sectionId
});
}
};
module.exports = ItemActions;
module.exports = ItemActions;