forked from MapComplete/MapComplete
		
	Refactoring: moved pointRenderingConfig into seperate part of the configuration, removed roaming rendering capabilities
This commit is contained in:
		
							parent
							
								
									584ade8e61
								
							
						
					
					
						commit
						1852eb8e52
					
				
					 74 changed files with 1868 additions and 193 deletions
				
			
		|  | @ -166,7 +166,7 @@ export default class TagSpec extends T { | |||
|                         } | ||||
|                     ], | ||||
|                     condition: "x=" | ||||
|                 }, undefined, "Tests"); | ||||
|                 }, "Tests"); | ||||
| 
 | ||||
|                 equal(undefined, tr.GetRenderValue({"foo": "bar"})); | ||||
|                 equal("Has no name", tr.GetRenderValue({"noname": "yes"})?.txt); | ||||
|  | @ -483,7 +483,7 @@ export default class TagSpec extends T { | |||
|                     ] | ||||
|                 }; | ||||
| 
 | ||||
|                 const tagRendering = new TagRenderingConfig(config, null, "test"); | ||||
|                 const tagRendering = new TagRenderingConfig(config, "test"); | ||||
|                 equal(true, tagRendering.IsKnown({bottle: "yes"})) | ||||
|                 equal(false, tagRendering.IsKnown({})) | ||||
|             }], | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue