Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function _onStarSearch(keyword) {
- that.setState({
- term: keyword
- });
- }
- that.onHashChange=function(data) {
- console.log(data);
- }
- that.init=function() {
- that.modules.StarSearch.bind('search', _onStarSearch);
- that.setState({
- type: 'mystars'
- });
Add Comment
Please, Sign In to add comment