style: misc minor changes
This commit is contained in:
		
							parent
							
								
									c362f33fe4
								
							
						
					
					
						commit
						ee36063fae
					
				| @ -239,7 +239,6 @@ export class Record { | ||||
|   } | ||||
| 
 | ||||
|   _updateDestination() { | ||||
|     // todo(vicb): compute this info only once in ctor ? (add a bit in mode not to grow the mem req)
 | ||||
|     if (this.dest instanceof Record) { | ||||
|       if (isPresent(this.protoRecord.dest.position)) { | ||||
|         this.dest.updateArg(this.currentValue, this.protoRecord.dest.position); | ||||
|  | ||||
| @ -417,7 +417,7 @@ export function main() { | ||||
|           var prr = new ProtoRecordRange(); | ||||
|           prr.addRecordsFromAST(ast("a()"), "a", 1); | ||||
|           prr.addRecordsFromAST(ast("b()"), "b", 2); | ||||
|           prr.addRecordsFromAST(ast("c()"), "b", 2); | ||||
|           prr.addRecordsFromAST(ast("c()"), "c", 2); | ||||
| 
 | ||||
|           var dispatcher = new TestDispatcher(); | ||||
|           var rr = prr.instantiate(dispatcher, null); | ||||
|  | ||||
| @ -202,7 +202,7 @@ export class View { | ||||
|     } | ||||
|   } | ||||
| 
 | ||||
|   _collectChanges(records:List) { | ||||
|   _collectChanges(records:List<Record>) { | ||||
|     var changes = StringMapWrapper.create(); | ||||
|     for(var i = 0; i < records.length; ++i) { | ||||
|       var record = records[i]; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user