| 
					
				 | 
			
			
				@@ -3,23 +3,23 @@ import * as constants from './constants'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { fromJS } from 'immutable'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-// const defaultState = fromJS({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//     menu: 'hello submenu-t!!!', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//     list:[], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//     inputValue:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+const defaultState = fromJS({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    menu: 'hello submenu-t!!!', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    list:[], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    inputValue:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-// }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-// export default (state = defaultState, action) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//     if(action.type===constants.CHANGE_INPUTVALUE){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//         return state.set('inputValue',action.data); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//     if(action.type===constants.SEARCH_FOCUS){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//         return state.set('menu','clicke me'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//     if(action.type===constants.CHANGE_LIST){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//         return state.set('list',action.data); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-//     return state; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-// } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+export default (state = defaultState, action) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    if(action.type===constants.CHANGE_INPUTVALUE){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return state.set('inputValue',action.data); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    if(action.type===constants.SEARCH_FOCUS){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return state.set('menu','clicke me'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    if(action.type===constants.CHANGE_LIST){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return state.set('list',action.data); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    return state; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+} 
			 |