Remove some useless functions from common.js.
This commit is contained in:
		
							parent
							
								
									66f499c232
								
							
						
					
					
						commit
						9c629d53b1
					
				
					 1 changed files with 1 additions and 15 deletions
				
			
		|  | @ -1,20 +1,5 @@ | |||
| var common = {}; | ||||
| 
 | ||||
| common.post_example = | ||||
| function post_example(key, value, callback) | ||||
| { | ||||
|     var url = "/postexample"; | ||||
|     data = new FormData(); | ||||
|     data.append(key, value); | ||||
|     return post(url, data, callback);     | ||||
| } | ||||
| 
 | ||||
| common.null_callback = | ||||
| function null_callback() | ||||
| { | ||||
|     return; | ||||
| } | ||||
| 
 | ||||
| common._request = | ||||
| function _request(method, url, callback) | ||||
| { | ||||
|  | @ -65,6 +50,7 @@ function bind_box_to_button(box, button) | |||
|         } | ||||
|     }; | ||||
| } | ||||
| 
 | ||||
| common.entry_with_history_hook = | ||||
| function entry_with_history_hook(box, button) | ||||
| { | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue