forked from MapComplete/MapComplete
		
	Full code cleanup
This commit is contained in:
		
							parent
							
								
									3a4a2a2016
								
							
						
					
					
						commit
						fa971ffbbf
					
				
					 300 changed files with 16352 additions and 19284 deletions
				
			
		|  | @ -8,10 +8,10 @@ import {Utils} from "../Utils"; | |||
| export default abstract class BaseUIElement { | ||||
| 
 | ||||
|     protected _constructedHtmlElement: HTMLElement; | ||||
|     protected isDestroyed = false; | ||||
|     private clss: Set<string> = new Set<string>(); | ||||
|     private style: string; | ||||
|     private _onClick: () => void; | ||||
|     protected isDestroyed = false; | ||||
| 
 | ||||
|     public onClick(f: (() => void)) { | ||||
|         this._onClick = f; | ||||
|  | @ -148,10 +148,10 @@ export default abstract class BaseUIElement { | |||
|     } | ||||
| 
 | ||||
|     public AsMarkdown(): string { | ||||
|         throw "AsMarkdown is not implemented by " + this.constructor.name+"; implement it in the subclass" | ||||
|         throw "AsMarkdown is not implemented by " + this.constructor.name + "; implement it in the subclass" | ||||
|     } | ||||
|      | ||||
|     public Destroy(){ | ||||
| 
 | ||||
|     public Destroy() { | ||||
|         this.isDestroyed = true; | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue