Automated build for v0.01
This commit is contained in:
		
						commit
						791b998489
					
				
					 2771 changed files with 222096 additions and 0 deletions
				
			
		
							
								
								
									
										9
									
								
								plugins/no_title_counters/init.js
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								plugins/no_title_counters/init.js
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,9 @@ | |||
| require(['dojo/_base/kernel', 'dojo/ready'], function (dojo, ready) { | ||||
| 	ready(function () { | ||||
| 		PluginHost.register(PluginHost.HOOK_INIT_COMPLETE, () => { | ||||
| 			App.updateTitle = function () { | ||||
| 				document.title = "Agriget"; | ||||
| 			}; | ||||
| 		}); | ||||
| 	}); | ||||
| }); | ||||
							
								
								
									
										24
									
								
								plugins/no_title_counters/init.php
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								plugins/no_title_counters/init.php
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,24 @@ | |||
| <?php | ||||
| class No_Title_Counters extends Plugin { | ||||
| 	private $host; | ||||
| 
 | ||||
| 	function about() { | ||||
| 		return array(1.0, | ||||
| 			"Remove counters from window title (prevents tab flashing on new articles)", | ||||
| 			"fox"); | ||||
| 	} | ||||
| 
 | ||||
| 	function init($host) { | ||||
| 		$this->host = $host; | ||||
| 
 | ||||
| 	} | ||||
| 
 | ||||
| 	function get_js() { | ||||
| 		return file_get_contents(__DIR__ . "/init.js"); | ||||
| 	} | ||||
| 
 | ||||
| 	function api_version() { | ||||
| 		return 2; | ||||
| 	} | ||||
| 
 | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Fmstrat
						Fmstrat