make dart analyzer happy
This commit is contained in:
		
							parent
							
								
									3c692a1b85
								
							
						
					
					
						commit
						abf03401df
					
				| @ -230,6 +230,7 @@ class BaseLineTreeComponent { | |||||||
|   value:BaseLineInterpolation; |   value:BaseLineInterpolation; | ||||||
|   left:BaseLineIf; |   left:BaseLineIf; | ||||||
|   right:BaseLineIf; |   right:BaseLineIf; | ||||||
|  |   element:Element; | ||||||
|   constructor(element) { |   constructor(element) { | ||||||
|     this.element = element; |     this.element = element; | ||||||
|     var clone = DOM.clone(BASELINE_TREE_TEMPLATE.content.firstChild); |     var clone = DOM.clone(BASELINE_TREE_TEMPLATE.content.firstChild); | ||||||
| @ -283,9 +284,9 @@ class BaseLineIf { | |||||||
|         this.component = null; |         this.component = null; | ||||||
|       } |       } | ||||||
|       if (this.condition) { |       if (this.condition) { | ||||||
|         var element = DOM.clone(BASELINE_IF_TEMPLATE).content.firstChild; |         var element = DOM.firstChild(DOM.clone(BASELINE_IF_TEMPLATE).content); | ||||||
|         this.anchor.parentNode.insertBefore(element, this.anchor.nextSibling); |         this.anchor.parentNode.insertBefore(element, DOM.nextSibling(this.anchor)); | ||||||
|         this.component = new BaseLineTreeComponent(element.firstChild); |         this.component = new BaseLineTreeComponent(DOM.firstChild(element)); | ||||||
|       } |       } | ||||||
|     } |     } | ||||||
|     if (isPresent(this.component)) { |     if (isPresent(this.component)) { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user