fix YMap.keys()
This commit is contained in:
		
							parent
							
								
									9298903bdb
								
							
						
					
					
						commit
						b7c05ba133
					
				@ -36,7 +36,7 @@ export default class YMap extends Type {
 | 
				
			|||||||
    return map
 | 
					    return map
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  keys () {
 | 
					  keys () {
 | 
				
			||||||
    return this._map.keys()
 | 
					    return Array.from(this._map.keys()).filter(x => !x._deleted)
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  delete (key) {
 | 
					  delete (key) {
 | 
				
			||||||
    this._transact((y) => {
 | 
					    this._transact((y) => {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user